- What is fish?
Fish shell is a terminal shell. It has many features to help developers improve coding and skills.
- How to install?
First Step: add repository
sudo apt-add-repository ppa:fish-shell/release-3
Second: update and install
sudo apt update
sudo apt install fish
Third: replace the original terminal
sudo chsh -s /usr/local/bin/fish
If you want to back to the bash terminal, type this in terminal
sudo chsh -s 'which bash'
Top comments (1)
on my "Ubuntu 22.04.2 LTS", got this error :
chsh: PAM authentication failed
To fix:
nano /usr/bin/fish
root:x:0:0:root:/root:/usr/local/bin/fish
toroot:x:0:0:root:/root:/usr/bin/fish
sudo chsh -s $(which zsh) $(whoami)