Which shell am I using?

HI there,

I am new to Garuda and I am tring to install nvm to control which versions of node I use and to prevent root access to npm packages. From the start, I see that fish shell is the default (which nvm doesn't support) but neofetch says "bash". So which shell am I actually using ?

.%;888:8898898:               ---------------------  
x;XxXB%89b8:b8%b88:             OS: Garuda Linux  
.8Xxd                8X:.          Kernel: 5.16.4-zen1-1-zen  
.8Xx;                    8x:.        Uptime: 6 mins
.tt8x          .d            x88;      Packages: 1806 (pacman)
[email protected];          .db:              [email protected];    Shell: bash
,tSXX°          [email protected];   DE: Plasma 5.23.5
.SXxx            bBBBBBBBBBBBBBBBBBBBbSBX8;   WM: KWin
,888S                                     pd!   Terminal: konsole
8X88/                                       q    CPU: AMD Ryzen 9 5900X (24) @ 3.7GHz
GBB.                                             GPU: AMD ATI Radeon RX 6800/6800 XT / 6900 XT
x%88        [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@X.         Memory: 3.50GiB / 62.77GiB
dxXd    dB8b8b8B8B08bB88b998888b88x.
dxx8o                      [email protected]@;.
dx88                   [email protected]
d:[email protected]
.d988999889889899dd.

When I try echo $SHELL, I get the following:

╭─[email protected] in ~
╰─λ echo $SHELL
/bin/bash

but

╭─[email protected] in ~
╰─λ ps
PID TTY          TIME CMD
19166 pts/1    00:00:00 fish
21916 pts/1    00:00:00 ps

Please help...

Bash is the login shell and fish gets opened by GUI terminal applications.

7 Likes

The previous post states the relationship of bash and fish.

I notice you are indicating it is not compatible possibly, and using Konsole. If you right click on Konsole window you should see Edit Current Profile at the bottom. Clicking that then should show configurations, look for Command: /usr/bin/fish on the right side, and you can change fish to bash.

There are a few other posts on the forums also if you search for bash.

Hope this helps.

5 Likes