File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,9 @@ if [ "$OSTYPE" = "cygwin" ]; then SCRIPT_PATH=$(cygpath -m $SCRIPT_PATH); fi
85
85
if [ " $MODE " != " iex" ]; then ERL=" -noshell -s elixir start_cli $ERL " ; fi
86
86
87
87
# Check for terminal support
88
- if test -t 1 -a -t 2; then ERL=" -elixir ansi_enabled true $ERL " ; fi
88
+ if [ " $OS " != " Windows_NT" ]; then
89
+ if test -t 1 -a -t 2; then ERL=" -elixir ansi_enabled true $ERL " ; fi
90
+ fi
89
91
90
92
if [ -z " $ERL_PATH " ]; then
91
93
if [ -f " $SCRIPT_PATH /../releases/RELEASES" ] && [ -f " $SCRIPT_PATH /erl" ]; then
Original file line number Diff line number Diff line change @@ -39,5 +39,5 @@ readlink_f () {
39
39
SELF=$( readlink_f " $0 " )
40
40
SCRIPT_PATH=$( dirname " $SELF " )
41
41
42
- if [ " $OSTYPE " = " cygwin " ]; then NOSHELL=" -noshell " ; fi
42
+ if [ " $OS " = " Windows_NT " ]; then NOSHELL=" -noshell " ; fi
43
43
exec " $SCRIPT_PATH " /elixir --no-halt --erl " $NOSHELL -user Elixir.IEx.CLI" +iex " $@ "
You can’t perform that action at this time.
0 commit comments