/

How to Remove the Welcome Message in Fish Shell

How to Remove the Welcome Message in Fish Shell

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:

1
2
3
4
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:

1
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:

After

By following these steps, you can easily remove the welcome message in Fish Shell and enjoy a clutter-free shell environment.

tags: [“Fish Shell”, “remove welcome message”, “config.fish”]