-l is also an option for login shell
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Wed, 31 Aug 2016 18:15:26 +0000 (20:15 +0200)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Wed, 31 Aug 2016 18:15:26 +0000 (20:15 +0200)
plugins/terminal/src/org/jetbrains/plugins/terminal/LocalTerminalDirectRunner.java

index 10619180fc3e01ae5ff484848b9039610038b82a..183d7759779b8b5583c49beb39938ce06b73ad64 100644 (file)
@@ -200,7 +200,7 @@ public class LocalTerminalDirectRunner extends AbstractTerminalRunner<PtyProcess
   }
 
   private static boolean loginOrInteractive(List<String> command) {
-    return command.contains("-i") || command.contains("--login");
+    return command.contains("-i") || command.contains("--login") || command.contains("-l");
   }
 
   private static class PtyProcessHandler extends ProcessHandler implements TaskExecutor {