3 ms·
> Now you can use a humble LISP to do Bash things. Bash as a scripting language has many edges, but it is everywhere... Just in time ... > Starting with macOS
by Terretta 7y ago
> Now you can use a humble LISP to do Bash things. Bash as a scripting language has many edges, but it is everywhere...
Just in time ...
> Starting with macOS Catalina, your Mac uses zsh as the default login shell and interactive shell. You can make zsh the default in earlier versions of macOS as well.
https://support.apple.com/en-us/HT208050 https://support.apple.com/en-us/HT208050
- ngcc_hk 7y agoWhat is your intent? The program need to go zsh?
- skissane 7y agoWell, the big problem with bash on macOS is it is stuck on bash 3.x. FSF changed license of bash, starting with 4.0, from GPLv2 to GPLv3, and Apple's corporate policy says no GPLv3 allowed, so macOS stuck on bash 3.x. You write a script on Linux using bash 4.x features, take it to run on macOS with bash 3.x and it doesn't work. (You can still install bash 4.x on macOS, but if you have to install bash 4.x that gets rid of the argument "bash is everywhere and we don't have to install it so that's why we use it instead of something else".) Apple is trying to move macOS users to zsh because they like the license (it is MIT-like) and hence will be keeping up to date with new versions of it, instead of being stuck in the past like they are with bash.