diff --git a/platform/util/src/com/intellij/util/EnvironmentUtil.java b/platform/util/src/com/intellij/util/EnvironmentUtil.java index 079832d33f68..0c570ead7c67 100644 --- a/platform/util/src/com/intellij/util/EnvironmentUtil.java +++ b/platform/util/src/com/intellij/util/EnvironmentUtil.java @@ -218,7 +218,7 @@ public class EnvironmentUtil { throw new Exception("shell:" + shell); } List commands = ContainerUtil.newArrayList(shell); - if (!shell.endsWith("/tcsh")) { + if (!shell.endsWith("/tcsh") && !shell.endsWith("/csh")) { // Act as a login shell // tsch does allow to use -l with any other options commands.add("-l");