this post was submitted on 13 Mar 2024
53 points (81.9% liked)
Apple
17595 readers
73 users here now
Welcome
to the largest Apple community on Lemmy. This is the place where we talk about everything Apple, from iOS to the exciting upcoming Apple Vision Pro. Feel free to join the discussion!
Rules:
- No NSFW Content
- No Hate Speech or Personal Attacks
- No Ads / Spamming
Self promotion is only allowed in the pinned monthly thread
Communities of Interest:
Apple Hardware
Apple TV
Apple Watch
iPad
iPhone
Mac
Vintage Apple
Apple Software
iOS
iPadOS
macOS
tvOS
watchOS
Shortcuts
Xcode
Community banner courtesy of u/Antsomnia.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why did they replace bash with zsh?
The bash that comes with macOS is a fork of the last version distributed under version 2 of the GPL, most likely because Apple doesn’t want to distribute GPLv3 code as part of macOS, and it is ancient. They keep it updated with security fixes but nothing else, so it has gradually become less and less compatible with current bash.
Since zsh has become a popular bash replacement and it isn’t GPLv3, they switched the default shell to that.
Thanks for the insight!
Bash binary is still included in MacOS, right? It's just the default terminal shell changed to zsh.
Yes, just checked)
Not sure either, and kali did the same. https://apple.stackexchange.com/questions/361870/what-are-the-practical-differences-between-bash-and-zsh
Of course, someone posted on stackexchange a nicely detailed post.