3 ms·
With a heavy heart I join the rest of the zsh discussion because these aren’t even factual: > You can do a lot of advanced things with bash, and customize it t
by saagarjha 6y ago
With a heavy heart I join the rest of the zsh discussion because these aren’t even factual:
> You can do a lot of advanced things with bash, and customize it to do even more, but ZSH allows you to do even more.
Bash can do a lot of things zsh can’t, and vice versa.
> Fish is a nice shell (probably nicer than ZSH), but realistically it was not a real consideration due to the fact that it is not POSIX compatible.
Neither is zsh, really. There’s emulation modes but I never got the impression that fidelity was a goal there.
- pletnes 6y agoZsh isn’t posix compatible? Citation needed? Also what can bash do that zsh can’t? Genuinely curious, after using both for years.
- ti_ranger 6y ago> Also what can bash do that zsh can’t? I have noticed that a lot of the features listed in https://www.gnu.org/software/bash/manual/bash.html#Major-Differences-From-The-Bourne-Shell https://www.gnu.org/software/bash/manual/bash.html#Major-Dif... aren't present in zsh, but I am not sure of all the ones that aren't in zsh. Ones that I have used in bash that aren't in zsh (there may be many more, I stopped using zsh in many scenarios because of some of these): * Some of https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion https://www.gnu.org/software/bash/manual/bash.html#Shell-Par... (e.g at least ${LOGNAME^^}, `(FOO=BAR;echo ${FOO,,})`) * -p option to read for the prompt, e.g. `read -s -p "Enter the DB password: " PW`
- dous 6y agoMaybe they mean this "Zsh is able to emulate POSIX shells, but its default mode is not POSIX compatible, either." from http://zsh.sourceforge.net/Doc/Release/index.html http://zsh.sourceforge.net/Doc/Release/index.html
- Spooky23 6y agoWhat we really need here is for someone to explain why all of these issues are moot because Emacs the best, most ethical solution.
- saagarjha 6y agoEmacs is bloated, nano all the way :)