3 ms·
fish should be the default shell on macOS, possibly with a cool custom theme. then again it might turn off some of the hardcore bearded UNIX people who use it.
by jolux 9y ago
fish should be the default shell on macOS, possibly with a cool custom theme. then again it might turn off some of the hardcore bearded UNIX people who use it.
- dionian 9y agoI mean, any UNIX beard who isn't willing to configure his/her machine to use a different shell, probably really isn't a true UNIX power user... I would not care either way since I just use ohmyzsh, their github page has a shell oneliner to install it, good enough for me
- moondev 9y agoFish is not 100% bash compatible so that would break scripts everywhere
- stephenr 9y agoOnly scripts that are sourced by the active shell Edit: to clarify, any shell script that is executed will define its own shell to execute with (the #! line). There may be some issues if scripts have declared their shell as /bin/sh but they use bashisms, and then /bin/sh isn't provided by bash anymore, but honestly that's not necessarily related. The discussion here is about changing the default login shell for interactive user accounts to fish. If they did this though, it would be nice if they would use dash for /bin/sh, but I'm not sure how that's licenced - possibly gpl3 too?
- jolux 9y agoIt's not bash or POSIX compatible at all, they're basically incompatible.
- jolux 9y agoOn second thought this might lose them SUS certification so perhaps they shouldn't do this. I just think macOS is a friendly OS and fish is a lot friendlier than bash or even zsh out of the box (it's even right there in the name!).