Don't allow JLINE env var to mess up lein run. Fixes #131.
This commit is contained in:
parent
a53e419f4c
commit
ba3d4db49f
1 changed files with 3 additions and 2 deletions
1
bin/lein
1
bin/lein
|
@ -143,6 +143,7 @@ else
|
||||||
echo $CLOJURE_JAR
|
echo $CLOJURE_JAR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
JLINE=""
|
||||||
if ([ "$1" = "repl" ] || [ "$1" = "interactive" ] || [ "$1" = "int" ]) &&
|
if ([ "$1" = "repl" ] || [ "$1" = "interactive" ] || [ "$1" = "int" ]) &&
|
||||||
[ -z $INSIDE_EMACS ] && [ "$TERM" != "dumb" ]; then
|
[ -z $INSIDE_EMACS ] && [ "$TERM" != "dumb" ]; then
|
||||||
# Use rlwrap if it's available, otherwise fall back to JLine
|
# Use rlwrap if it's available, otherwise fall back to JLine
|
||||||
|
|
Loading…
Reference in a new issue