-
-
Save NDari/b837b7beefee4d14c14334f1c876c772 to your computer and use it in GitHub Desktop.
Start a Clojure(Script) REPL with rebel-readline and any other dependencies you want to include
This file contains hidden or 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
| # Add these to your .bash_profile / .zshrc / etc. | |
| # Starts a Clojure repl | |
| function rebel-clj() { | |
| clojure -Sdeps "{:deps {com.bhauman/rebel-readline {:mvn/version \"0.1.4\"} $@}}" -m rebel-readline.main | |
| } | |
| # Starts a browser REPL | |
| function rebel-cljs() { | |
| clojure -Sdeps "{:deps {com.bhauman/figwheel-main {:mvn/version \"0.1.7\"} com.bhauman/rebel-readline-cljs {:mvn/version \"0.1.4\"} $@}}" -m figwheel.main | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment