On Ubuntu, I have fish installed, and have it set as my default shell using chsh -s /usr/bin/fish
.
I would like to open a bash shell. Entering bash
creates a new fish session. How can I open bash without ending my login session?
On Ubuntu, I have fish installed, and have it set as my default shell using chsh -s /usr/bin/fish
.
I would like to open a bash shell. Entering bash
creates a new fish session. How can I open bash without ending my login session?
If you're typing bash
and ending up in a fish
shell it almost certainly means you have put exec fish
in your ~/.bashrc script. Which is a commonly used technique to make fish your "default" shell without the risk that chsh -s /usr/bin/fish
entails. Just remove that line from your .bashrc now that you no longer need it.