Re:The Linux cheat command
by yjftsjthsd-h on Thursday June 02, 2022 @04:22PM
(#31600050)
> 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
I 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.
Re:The Linux cheat command
by hothead334 on Thursday June 02, 2022 @03:03PM
(#31599191)
It was probably that in zsh, arrays start at 1.
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-th...
[1]: https://ohmyz.sh/
[2]: https://starship.rs/
[3]: https://github.com/unixorn/awesome-zsh-plugins