Skip to content

Instantly share code, notes, and snippets.


Denny Trebbin fibric

View GitHub Profile
fibric /
Last active Oct 17, 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/$USER UserShell /bin/bash /usr/local/bin/fish
# on many pages you can read that you should add your custom shell path e.g. /path/to/custom/shell to /etc/shells
# then run:
# chsh -s /path/to/custom/shell
# some people try to convince you changing the default shell in your terminal app
# or changing your login shell in System > Preferences > Users & Groups