If you’re using Fish Shell, you may have noticed that every time you open your shell, you are greeted with the message “Welcome to fish, the friendly interactive shell”. While this message can be helpful for newcomers, you might find it unnecessary and want to remove it. In this blog post, we’ll guide you through the process of removing the welcome message in Fish Shell.
To get started, you’ll need to open the config.fish
file located at ~/.config/fish/config.fish
. If you don’t have this file, you can create one using a text editor of your choice.
Here’s an example of what the config.fish
file may look like:
if status is-interactive
# Commands to run in interactive sessions can go here
end
fish_add_path /opt/homebrew/opt/[email protected]/bin
To remove the welcome message, simply add the following line at the bottom of the file:
set fish_greeting ""
Now, save the changes and close the file. When you open your Fish Shell again, you’ll notice that the welcome message is no longer displayed.
Here’s an example of how your prompt may look after removing the welcome message:
By following these steps, you can easily remove the welcome message in Fish Shell and enjoy a clutter-free shell environment.