Changing fish to bash

I’m pretty new to cachyOS with a bit of experience to linuxOS’s :grinning:

Unfortunately I don’t like fish, so I tried to change into bash.
for the user-account it worked without any issue :+1:
for root it fails :astonished:
the shell is not to changed to bash with cmd

chsh -s /usr/bin/bash

any hint is welcome :innocent:

You need to reboot/logout when changing.

@altman @ptr1337

okay, but I’ve recieved the notice :

chsh shell not changed

:roll_eyes:

doesn’t it matter ? after reboot it will be changed anyhow ?

well I understand -thx
but that’s strange cause in user-account no reboot is necessary…

i did ! :laughing:
— and it worked - but it remains a strange thing :rofl: :joy:

especially in CACHYOS, I think - a very tricky OS :sunglasses: :sunglasses: :sunglasses:

maybe some - surely not me lol

@altman you’re welcome :hugs:

I had to reboot for this to work. When just logging out and back in, it was still on FISH. When I reboot and then login, it was on BASH.

reviving an old thread I know :slight_smile:

I have never used fish before, but I gotta say, when it doesn’t agree to the norms of setting variables, ie: it doesn’t like = inbetween variable and value. I am just not a fan of it. When trying to work on Distros, I like to copy lines out of scripts and paste them directly into the terminal to see what happens, and trying to do this yesterday with the PKGBUILD for my epson printer(because epson no longer host the files for my old printer, and I had to try to source the file locally, and failed to do so). pasting some lines into fish, was a real PITA. I also tried changing it to bash using chsh but it didn’t work, but I will try again today.

Who knew, chsh just changes the line in /etc/passwd :slight_smile: Old school me would just change the lin in /etc/passwd :wink: LaL(which either means Long Assed Laugh, or Live and Learn, much like LoL means Lots of Love) :wink:

Thanks.

Depending on your terminal emulator you may need to use its settings to set the shell in something like “Profiles” in konsole. This is separate form your login shell.

If you use a terminal like alacritty then you may need to configure the shell in its conf such as;

~/.config/alacritty/alacritty.toml

[...]

[terminal]
shell = { program = "/usr/bin/bash" }

[...]

This messages tells you that the shell for root is already /usr/bin/bash, so there’s nothing to change. fish is only the default for normal user accounts, not for root.

I went back to bash, I guess I am most comfortable there