liebke / cljr

cljr is a Clojure REPL and package management system.
236 stars 11 forks source link

Default command should be customizable #14

Open jasonbaker opened 14 years ago

jasonbaker commented 14 years ago

I don't really like the swingrepl. :-)

With most other interactive interpreter programs (python, irb, etc), the REPL is started in the console. It always throws me off when I run cljr and get a swing REPL. What would be awesome is if I could customize cljr so that the regular console-based REPL is the default.

liebke commented 14 years ago

Are you running on Windows? I ask because cljr repl only brings up a swingrepl on windows. On Linux/MacOS it brings up the command line repl (assuming you are using the generated launch scripts). This was done to avoid issues with jline on windows.

jasonbaker commented 14 years ago

Perhaps I didn't explain well enough. If I type in just cljr, a swingrepl comes up. I have to remember to type in cljr repl if I want to stay in the console. I find this annoying because I prefer to stay in the console and don't necessarily see any benefit to the swingrepl. When I type in python or irb, it stays in the console without me having to type in an extra command. It would be nice if cljr were consistent with this behavior or were customizable so that it would be consistent with this behavior.