You are viewing a single thread.
View all comments
2 points

Why did they replace bash with zsh?

permalink
report
reply
5 points

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.

permalink
report
parent
reply
2 points

Thanks for the insight!

permalink
report
parent
reply
4 points

Bash binary is still included in MacOS, right? It’s just the default terminal shell changed to zsh.

permalink
report
parent
reply
1 point

Yes, just checked)

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply

Apple

!apple_enthusiast@lemmy.world

Create post
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:
  1. No NSFW Content
  2. No Hate Speech or Personal Attacks
  3. No Ads / Spamming
    Self promotion is only allowed in the pinned monthly thread

Lemmy Code of Conduct

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.

Community stats

  • 1.2K

    Monthly active users

  • 1.2K

    Posts

  • 18K

    Comments