3 ms·
Zsh is a superset of Bash. There's little-to-no learning curve from switching, if you just stick with Bash syntax, and many advantages. Here is a good overview
by dlivingston 4y ago
Zsh is a superset of Bash. There's little-to-no learning curve from switching, if you just stick with Bash syntax, and many advantages.
Here is a good overview on Zsh vs. Bash [0].
My favorite Zsh feature is the plugin ecosystem [3]. Oh My Zsh [1] and Starship [2] are awesome.
[0]: https://apple.stackexchange.com/questions/361870/what-are-the-practical-differences-between-bash-and-zsh https://apple.stackexchange.com/questions/361870/what-are-th...
[1]: https://ohmyz.sh/ https://ohmyz.sh/
[2]: https://starship.rs/ https://starship.rs/
[3]: https://github.com/unixorn/awesome-zsh-plugins https://github.com/unixorn/awesome-zsh-plugins
- e40 4y agoI had a script that worked fine in BASH but errored in Zsh. It had to do with arrays and I don't remember the problem.
- hothead334 4y agoIt was probably that in zsh, arrays start at 1.
- yjftsjthsd-h 4y ago> Zsh is a superset of Bash. zsh is not a strict superset of bash; I have aliases that I still haven't figured out how to port