Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Atomic Linux Distributions

How to change the default shell in fedora silverblue?

sudo usermod --shell $(which fish) $(id -un)

The above command updates the configuration file /etc/passwd.

Mutable Linux Distributions

sudo chsh -s $(which fish) $(id -un)

You have to add the path of fish into /etc/shells, if you get the error message “chsh: /usr/bin/fish is an invalid shell”.

Log out and then log in (or simplify reboot) for the change to take effect.