Skip to content

Commit

Permalink
Support for MSYS2 subsystem/shell, fixes #241
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Mar 26, 2018
1 parent ca43f6a commit d3068e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terminal/src/main/java/org/jline/utils/OSUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class OSUtils {
public static final boolean IS_MSYSTEM = IS_WINDOWS
&& System.getenv("MSYSTEM") != null
&& (System.getenv("MSYSTEM").startsWith("MINGW")
|| System.getenv("MSYSTEM").equals("MSYSTEM"));
|| System.getenv("MSYSTEM").equals("MSYS"));

public static final boolean IS_CONEMU = IS_WINDOWS
&& System.getenv("ConEmuPID") != null;
Expand Down

0 comments on commit d3068e1

Please sign in to comment.