How to disable Fish Shell “Greeting Message”
I started using fish years ago after being tired of having to configure everything in zsh, and to have a fresh start on something new that seemed exciting.
After a tough start, and deal with issues like bash compatibility unlike zsh, or tools not having specific instructions to make it work with fish, I can say I have had a great time using it.

Something I have never noticed, or it never bother me, was the greeting message displayed when opening a terminal with fish.
This was always something I have maybe ignored by running ctrl-L every time or I got used to it.
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fis
> ~ But stories not always have a good ending. After I started using vim I did noticed something unpleasant was happening when using fzf.vim.
The greeting message was being shown on the search pane when looking for files. This started annoying me. It was a transient thing, it never happened again, but that day I did look into a solution in order to get rid of this message.
As in many other tools, there are several ways of disabling this message.
Overwrite fish_greeting on config.fish
The easiest way is to adding this line into you ~/.config/fish/config.fish file, overwriting the current message:
set fish_greetingErase fish_greeting on the terminal
Another way can be by erasing the variable from the fish shell:
set --erase fish_greetingCreating a function to replace the actual fish_greeting
And the one that requires most work would be by creating a function on ~/.config/fish/functions named fish_greeting.fish:
function fish_greeting
# do nothing
end As an extra, if you want to change the message, you can by printing out a message within the function:
function fish_greeting
echo 'Hello!'
endSummary
We have seen different ways of disabling the fish greeting message by:
- Overwriting the function directly on config.fish.
- Erasing the function directly from the terminal.
- Overwriting the function by adding a new one with the same one on the functions folder.
Finally we have seen it is possible to tweak the greeting message if we want to.






