3 ms·
ZSH seems to have broader community support and there's a plugin for basically everything. This is why I chose to stick with it over Fish. If I just wanted a v
by dmix 8y ago
ZSH seems to have broader community support and there's a plugin for basically everything. This is why I chose to stick with it over Fish.
If I just wanted a very simple shell, with good defaults, I'd choose Fish. But much like why I use (Neo)Vim I prefer the DIY approach and have gotten my ZSH to the point over the years (and a hundred scripts later) where I love it.
But ZSH the language is pretty awful and non-intuitive (although way better than bash when you dig into it). Even though I've been writing it for years I still get it mixed up often.
My hope is that Evlish shell will be mature enough soon to use day-to-day, which is the only one I've seen with a modern scripting language (written in Go) and is 10x faster than my ZSH (which is very noticeable): https://elv.sh https://elv.sh
- dancek 8y agoSimilar story for me, but I consider the POSIX shell language a worthwhile least-common-denominator language. I avoid using bash or zsh extensions except interactively (and in a zsh plugin I maintain [0]). As I think you need to know the standard shell language anyway, new shell DSLs are a bit of a turn-off to me. If the language is trivial it's not very powerful and if it's powerful it takes time to learn. That's why I have high hopes for shells that combine tried-and-true programming languages and their ecosystems to a thin shell layer. Like http://xonsh.org http://xonsh.org or https://docs.racket-lang.org/rash/index.html https://docs.racket-lang.org/rash/index.html . But if I'm completely honest, I think bash will still be the standard choice in 5 years and weird shells you haven't heard of will still be weird shells you haven't heard of. [0]: https://gitlab.com/code-stats/code-stats-zsh https://gitlab.com/code-stats/code-stats-zsh
- kbd 8y agoQuick correction, the actual url for Xonsh is http://xon.sh http://xon.sh. My understanding is that xonsh.org is an out-of-date unaffiliated mirror that the author of Xonsh doesn't control :(
- dancek 8y agoOh, oops. Too bad I can't edit anymore. Sad that the out-of-date site os ranked better on Google for "python shell".
- h1d 8y agoWhy not just use fish for scripting? That's what I do as zsh as shell works better for me as well. Shell scripting finally looks a little saner thanks to fish.