3 ms·
Author here, thanks for posting. The project is still very early in the development and there is a lot of work to be done to make it ready for daily use. I wou
by kloud 9y ago
Author here, thanks for posting. The project is still very early in the development and there is a lot of work to be done to make it ready for daily use.
I would appreciate any feedback. What are the less known features of existing shells you really like? What things would you change about existing shells if you could?
- wolfgang42 9y agoYou may also be interested in looking at https://www.oilshell.org/ https://www.oilshell.org/ . Like yours, it's an effort to make a 'better bash', and he has a lot of posts discussing various aspects of Bash syntax and shells in general, and how to improve them.
- kloud 9y agoYeah, Oil shell is great. I got a lot of inspiration and learn how things work by reading those posts. I try to tackle it by a different approch by leveraging Clojure syntax for the programming bits but keeping things compatible for the command execution uses.
- dahart 9y agoAwesome project, and absolutely well motivated. I would love a shell that improves on bash with sane syntax. I'd suggest swapping stage 3 and stage 2 -- environment vars and signal and job control are more important (IMO) than everything in stage 2, and may affect the syntax more as well.
- setzer22 9y agoIs there a way I can automatically import libraries? Also, what's the current status on autocompletion features? By the way, very nice work!
- kloud 9y agoYou can use node libraries by requiring them with (js/require). ClojureScript libraries are in theory possible too, but I need to figure out how to specify classpath options for them. Check out the example: https://github.com/dundalek/closh/blob/master/doc/guide.md#custom-prompt https://github.com/dundalek/closh/blob/master/doc/guide.md#c...
- encloser 9y agoI really like this idea and I really like Clojure. Though I'm curious about performance. And do you know if anyone is doing something similar with Racket? (Looks like there is a Common Lisp shell http://www.cliki.net/CLISP-Shell http://www.cliki.net/CLISP-Shell)
- fiddlerwoaroof 9y agoThere is also the scheme shell: https://scsh.net https://scsh.net
- patrickmay 9y agoThe shell with the best acknowledgements section in any technical manual: https://scsh.net/docu/html/man.html https://scsh.net/docu/html/man.html
- peatmoss 9y agoAt RacketCon this year, there was a presentation on something called “Rash”: http://docs.racket-lang.org/rash/index.html http://docs.racket-lang.org/rash/index.html
- lvh 9y agoeshell is another lispy shell that's been in Emacs for a very long time. Elisp is probably my least favorite lisp that's commonly available, but eshell probably has the largest user base and is certainly the most mature out of all of these contenders. You can reasonably use eshell as your primary shell.
- anonacct37 9y agoI use eshell daily. It's nice to have a shell that also integrates with with list, but there's also a ton of value-add with integration with the emacs ecosystem. For example in eshell you can do: cd /ssh:some-server:/ top cd /docker:container:/ find-file etc/hosts
- rrix2 9y ago
- robto 9y agoOne thing that would be killer in a cljs shell is some sort of paredit capability. I've been writing clojure long enough with good tools that when I have to use it in an environment without paredit it slows me down a ton. This looks great, though, and I can't wait to try it out.
- contingencies 9y agoThe roadmap seems well thought out. Perhaps linking each unfinished item to a summary Github issue explaining how you see it being approached would assist with gaining contributors. You could then keep a list of "where to jump in" by assigning that sort of issue a tag ("start-hacking-here" or some such).
- doxos 9y agoA reader macro for embedding shell commands within clojure forms would be interesting. Something like: (let [x #sh ls] (pprint x)) Or some kind of way to embed shell execution directly in the form...
- sandover 9y agoI think this kind of shell has the best features of something like PowerShell -- the ability to work with real data structures -- but combined with Clojure's opinionated minimalism about those data structures, the result seems more useful. One other thing that Clojure has, however, which may be a problem here, is a strong emphasis on precise namespacing. That seems a like a serious problem for day to day use of this kind of shell. Pedantically namespacing all the interesting library functions I want to use would get old fast.
- hssay 9y agoThanks for the amazing work! This is a project that many would look forward too. Shell is a place where Clojure's program to abstractions and data oriented programming philosophy can do wonders. Ability to browse documentation of Clojure functions at the shell might help. Currently, man pages can be accessed for utilities. But quickly browsing doc of, say, Clojure re-find will add value, although features from stage 2 and 3 of roadmap are more important/show-stoppers.