In the case of Linux, the shell is like the heart of the entire system. The shell enables all the commands to run. A number of system apps rely on the shell scripts to work. In a word, without the shell, a Linux system is hardly Linux at all.
There are a number of available shells for the Linux platform, for example, ZSH and C Shell etc. Today, let’s party with the Fish! Fish shell is another popular alternative shell for Bash, the classic Linux shell.
The Fish shell comes up with a really cool look and coloring. Moreover, you get an auto-completion feature. This part remembers the commands you ran in the past and suggests them as you type your command.
Installing Fish shell
Run the following command(s) according to your Linux distro –
sudo apt install fish
sudo apt-get install fish
sudo zypper install fish
sudo dnf install fish
- Arch Linux
sudo pacman -S fish
- Generic Linux instruction
Run the following commands –
tar -xzvf fish-2.7.1.tar.gz cd fish-2.7.1/ ./configure make -j4 sudo make install
Changing the default shell
Now, you have to change your default shell. Run the following command –
cat /etc/shells chsh
Enter the following value –
Restart your system.
Voila! Fish now is your default shell.