Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

And if you change your default back to bash, every new terminal you open complains that you should switch to zsh


  export BASH_SILENCE_DEPRECATION_WARNING=1


If someone does that, I hope they find a newer version of bash. The old (3.27?) GPL2 bash should give a warning like that.


Not if you install a modern bash, unless I’ve missed something all these years.


What I see when I open a terminal is this: The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050.

I believe I switched from the default zsh to the bash that also came with the operating system. I don't think I installed a new bash. I was just trying to add on to/respond to the question "Will they completely remove bash, rsync, eventually?" . My answer was too short and I didn't actually make it clear what I was saying. I think the answer to the question "Will they completely remove bash, rsync, eventually?" is yes, at least for bash, I think they will remove it. My evidence for thinking they'll remove it is if you switch from the default zsh to the bash that comes with the operating system, they'll kindly ask you to switch back to zsh every time you open the terminal. Yes, you can change the default from nagging you with BASH_SILENCE_DEPRECATION_WARNING, which is great to know.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: