I execute chsh -s $(which zsh) but bash stay my default shell, why?

Hello

Just for the audience, in the Oh My Zsh documentation has the following section:

where is indicated:

Make it your default shell: chsh -s $(which zsh) or use sudo lchsh $USER if you are on Fedora.

If you use lchsh you need to type /bin/zsh to make it your default shell.

Therefore the command to use is lchsh

Hey Stephanie! I don’t know if you’ve been able to resolve this yet, but i ran into the same issue yesterday and found your post. What ended up working for me, as silly as it sounds, was just:

Right clicking on the terminal
Selecting edit current profile
Then changing command in general settings from /bin/bash to /bin/zsh

I hope this helps :slight_smile:

Now, i should say, i’m using Konsole on Fedora KDE, so i don’t know how well it will translate, but i hope it works for you.

While the information is great for reference, the original post was from 3 years back. Please consider using this for reference, but I am closing it to avoid continuing this necro thread.

1 Like