4 ms·
The uninitiated won’t notice much of a difference, and that is bound to be the point. Bash on macOS is stuck at version 3 due to licensing reasons (GPL3), while
by latexr 7y ago
The uninitiated won’t notice much of a difference, and that is bound to be the point. Bash on macOS is stuck at version 3 due to licensing reasons (GPL3), while ZSH is not (MIT).
- bsimpson 7y agoFor even more historical context, macOS originally shipped with tcsh. We've already done the shell transition once, and basically nobody noticed.
- koenigdavidmj 7y agoThat wouldn’t have broken as much, since everyone’s scripts would have a bash or sh shebang line on top. Changing what /bin/sh points to is a much riskier change.
- okdana 7y agoIs that what they've done? The linked article doesn't say that.
- brirec 7y ago$ /bin/sh --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19) Copyright (C) 2007 Free Software Foundation, Inc.
- koenigdavidmj 7y agoYou can change this by pointing /var/select/sh .