Skip to content

Instantly share code, notes, and snippets.


Denny Trebbin fibric

View GitHub Profile
fibric /
Created Feb 10, 2020
Change default shell in macOS (since Catalina)
#one line command to set the default shell to e.g fish (installed via brew)
sudo dscl localhost -change /Local/Default/Users/USERNAME UserShell /bin/bash /usr/local/bin/fish
#on many pages you can read that you should add your custom shell path like /path/to/custom/shell to /etc/shells
#then run:
# chsh -s /path/to/custom/shell
#or people try to convince you changing the default shell in your terminal app
#or changing your login shell in System > Preferences > Users & Groups
You can’t perform that action at this time.