Author: sh1mu7
This guide provides step-by-step instructions for installing the Fish shell on Ubuntu.
You can install Fish using the following command:
sudo apt-get install fishTo enter the Fish shell, simply run the following command in your terminal:
fishTo make Fish your default shell instead of Bash, follow these simple steps:
-
Open your terminal.
-
Run the following command:
sudo chsh -s /usr/bin/fish
Now, every time you log in, Fish will automatically be your default shell. Enjoy the enhanced features and capabilities of Fish from now on.
-
Open your terminal.
-
To edit the Fish configuration file, run this command:
sudo nano ~/.config/fish/config.fish
This will open Nano text editor with a configuration file specific to Fish.
-
Remove any existing content in the file.
-
Add this line to set a blank greeting:
set -g -x fish_greeting ''
By making this configuration change, you will remove any default welcome message displayed when starting Fish.
- Save and exit Nano by pressing
Ctrl + O, then Enter andCtrl + Xrespectively.
The default welcome message in Fish has been successfully removed.
1.If you want to switch back to using the Bash shell temporarily, simply enter the following command in your terminal:
bashBy following these steps, you can switch between Fish and Bash as needed.
Thank you for using this guide! If you have any questions or need further assistance, please visit the GitHub Profile for more information.