Score:0

After setting fish shell default all commands are unknown

pn flag

After I set fish shell default and rebooting I cannot login (because I am using sddm) and every command that I type in tty are unknown. I don’t know how to fix it.

David avatar
cn flag
What version of Ubuntu are you using? What commands did you use to make this fish shell the default?
MN_XD avatar
pn flag
I used chsh -s $(which fish)
David avatar
cn flag
That was the one and only command. Very strange I was just reading this doc it is a lot more then 1 command. https://www.imaginelinux.com/install-fish-shell-in-ubuntu/
MN_XD avatar
pn flag
I followed almost the same tutorial, I used the same commands that they use in this tutorial to setup fish bu I cannot go back to bash because it says that this command is unknown
Marco avatar
br flag
use `/usr/bin/chsh -s /bin/bash`. I guess the path is not added correctly in the fish shell.
NotTheDr01ds avatar
vn flag
Are you saying that every command is `command not found`? Can you add some examples of exactly what you are seeing in the tty? Thanks! (P.S. I'm guessing @Marco is on the right track).
MN_XD avatar
pn flag
@Marco it worked, thank you
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.