Apple makes zsh default shell on macOS
11–20 of 46 posts
Re: Apple makes zsh default shell on macOS
#12Earlier quoted context omitted.
It's a licensing thing yes. Current bash's are GPLv3, zsh is MIT. A pity they didn't make a structured output shell rather than traditional regex scraping but their main concern is compatibility, and zsh fits nicely.
PowerShell is available for Linux & Mac now if you're looking for a structured, object-oriented shell on your Mac.
Re: Apple makes zsh default shell on macOS
#13Is there any news on if apple is keeping python 2 and/or adding 3 by default?
Source: https://developer.apple.com/documentation/macos_release_note...
Re: Apple makes zsh default shell on macOS
#14Bash is the least worst language for bootstrapping since the alternative is POSIX shell which is even more difficult to get right.
The biggest issue is that Bash 3.x arrays don't work well with `set -u`.
Re: Apple makes zsh default shell on macOS
#15I thought everyone was using the fish shell on the Mac. :) http://fishshell.com/
Now I use Fish Shell on Linux and it's fine for what I usually do.
Re: Apple makes zsh default shell on macOS
#16I thought everyone was using the fish shell on the Mac. :) http://fishshell.com/
I think if one only ever uses their own computers fish is better, but having to switch contexts, having to have different configurations and so on is a pain and not very productive.
Re: Apple makes zsh default shell on macOS
#17Re: Apple makes zsh default shell on macOS
#18This isn't going to fix the fact that they are shipping a 12 years old version of bash. How many scripts with `#!/usr/bin/env bash` are there out there? Bash is the least worst language for bootstrapping since the alternative is POSIX shell which is even more difficult to get right. The biggest issue is that Bash 3.x arrays don't work well with `set -u`.
Re: Apple makes zsh default shell on macOS
#19I can recommend the GRML ZSH config to go with ZSH https://grml.org/zsh/ Works out-of-the-box for me on most machines (i.e. I don't maintain shell settings besides downloadding GRML zsh regularly) and it is not as big as oh-my-zsh.
If you're looking to replace oh-my-zsh with something sane and fast, zprezto has been my go-to choice.
Re: Apple makes zsh default shell on macOS
#20This isn't going to fix the fact that they are shipping a 12 years old version of bash. How many scripts with `#!/usr/bin/env bash` are there out there? Bash is the least worst language for bootstrapping since the alternative is POSIX shell which is even more difficult to get right. The biggest issue is that Bash 3.x arrays don't work well with `set -u`.
Bash went GPLv3. Apple will never ship GPLv3. Persuade bash to relicense and they might consider it. Otherwise, goodbye bash.