Manually set $SHELL in config.fish

As per How does Garuda use bash but the shell is fish?

Garuda leaves the default $SHELL to bash for compat reasons and only has kterm select fish

but this leaves $SHELL reporting bash, which when in kterm/fish is incorrect, which I discovered when setting up keychain, which when given the --eval arg returns shell appropriate commands to feed into source. under this setup I kept getting invalid bash commands.

The solution was simple, drop set -x SHELL /usr/bin/fish at the top of my .fish_profile.

So just here to suggest it might be a good idea to incorporate that into garuda's generated ~/.config/fish/config.fish

Thanks

5 Likes

This is actually a nice idea. I've seen a lot of people being confused about this, so this might clear up some of the doubts :thinking:

Welcome to the forum! :slight_smile:

6 Likes
4 Likes