I'm using Fedora with KDE and I'm wondering how to set the Fish shell to automatically open when I launch my terminal. I know Fish is more of a shell than a terminal emulator, so I'm not sure how to go about making it my default. Any suggestions?
3 Answers
Sounds like you're looking to set Fish as your default shell! On Fedora, you can use the `chsh` command to change your default shell to Fish. Just run `chsh -s $(which fish)` in your terminal. Make sure you're not trying to put `fish` at the end of your `.bashrc`, as that can lead to some issues. If you need more details, check the Fish shell documentation!
Another option, though a bit hacky, is to add `fish` to the end of your `.bashrc` file. This is a quick way to get it running, but it's not the cleanest method. Just be aware that it might not work perfectly on every distro, even if it's common advice. So, proceed with caution!
I’d recommend using the terminal emulator's profile settings too. Many provide an option to set a specific command or shell to open with. This could be a more straightforward solution without digging into shell configurations.
Yeah, setting it permanently with `chsh` is definitely the right route to go. That way, every terminal session will start with Fish without needing any extra commands.