-
-
Save BlakeWilliams/1271838 to your computer and use it in GitHub Desktop.
Modified CLJ script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
breakchars="(){}[],^%$#@\"\";:''|\\" | |
CLOJURE=$CLASSPATH:/usr/local/Cellar/clojure/1.3.0/clojure-1.3.0.jar:${PWD} | |
if [ "$#" -eq 0 ]; then | |
exec rlwrap --remember -c -b "$breakchars" \ | |
java -cp $CLOJURE clojure.main --repl | |
else | |
java -cp $CLOJURE clojure.main "$@" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment