Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (9 sloc) 335 Bytes
#!/bin/bash
startdir=$(pwd)
cd $(dirname "${0}")
export BREPL_DIR=$(pwd -P)
cd $startdir
#FIXME: if you don't have $CLOJURESCRIPT_HOME set, uncomment the next line.
#export CLOJURESCRIPT_HOME=/path/to/clojurescript
BREAK_CHARS="(){}[],^%$#@\"\";:''|\\"
rlwrap -r -c -b $BREAK_CHARS "${BREPL_DIR}/script/cljbrepl" "$startdir/src"