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
8585if [ " $MODE " != " iex" ]; then ERL=" -noshell -s elixir start_cli $ERL " ; fi
8686
8787# 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
8991
9092if [ -z " $ERL_PATH " ]; then
9193 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 () {
3939SELF=$( readlink_f " $0 " )
4040SCRIPT_PATH=$( dirname " $SELF " )
4141
42- if [ " $OSTYPE " = " cygwin " ]; then NOSHELL=" -noshell " ; fi
42+ if [ " $OS " = " Windows_NT " ]; then NOSHELL=" -noshell " ; fi
4343exec " $SCRIPT_PATH " /elixir --no-halt --erl " $NOSHELL -user Elixir.IEx.CLI" +iex " $@ "
You can’t perform that action at this time.
0 commit comments