Also fish is on the image already, you shouldn’t need to use brew at all in this case, would probably help removing the path complexity from debugging, heh.
I know this answer, but it’s not valid for ublue distros because they don’t have the chsh command. Generally in Linux, to change the default shell for the logged in user:
❯ chsh -s /usr/bin/zsh
And if you want to know what shells you have to choose from:
I looked at a workaround of using a distrobox, but the Debian install had different shells listed so I don’t think that’s a valid method. Outside of editing /etc/passwd manually and changing your default shell line there, I’m not sure of another way to do it.
Yep, I didn’t see it when I posted (wrote it last night, forgot to post until today!). Using usermod is exactly what we want, so to use a variable to make it work for anyone running it: