clj () {
  if [[ $# -eq 0 ]]; then
    clojure -M:cljfmt:nrepl-dep:rebel:tools/repl -i ~/.clojure/src/my_repl.clj -m nrepl.cmdline -i -f my-repl/repl
  else
    command clj "$@"
  fi
}

-rlwrap! bb
alias bbj='bb "(json/parse-stream *in* true)" | bb'

export BABASHKA_PRELOADS='(defmacro $$ [& args] `(let [proc ^{:inherit true} (p/$ ~@args)] (p/check proc) nil))'

# -rlwrap! shadow-cljs

clj () {
  if [[ $# -eq 0 ]]; then
    clojure -M:cljfmt:nrepl-dep:rebel:tools/repl -i ~/.clojure/src/my_repl.clj -m nrepl.cmdline -i -f my-repl/repl
  else
    command clj "$@"
  fi
}
alias cljs='clojure -M:rebel-cljs'

-rlwrap! bb
alias bbj='bb "(json/parse-stream *in* true)" | bb'

export BABASHKA_PRELOADS='(defmacro $$ [& args] `(let [proc ^{:inherit true} (p/$ ~@args)] (p/check proc) nil))'

# -rlwrap! shadow-cljs

Add alias for cljs with rebel readline
Add alias for cljs with rebel readline
