jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
563 stars 50 forks source link

Can I save an initial command to the REPL? #249

Closed rgdelato closed 7 years ago

rgdelato commented 7 years ago

Hello there! I've been using Proto REPL to connect to Figwheel, and so every time I start Proto REPL, I need to input the same command:

(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))

...is there any way to save this such that it gets automatically run whenever I start Proto REPL?

Also, apologies if this is not actually a Proto REPL-specific question.

rgdelato commented 7 years ago

Closing this issue, the answer is documented here: https://github.com/jasongilman/proto-repl/blob/master/extending_proto_repl.md