Is it possible to remove the intro message in fish shell:
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use
Warning: No longer works since fish 2.4.0—see Kevin's answer for the correct contemporary solution.
If there is no environment variable named "fish_greeting", then nothing will be printed. By default, there is a fish_greeting variable. You can erase this:
set --erase fish_greeting
This is a kind of silly
answer. You can create a fish_greeting.fish
empty file in ~/.config/fish/functions
folder and this will remove the greeting message.
That can be done by
$ touch ~/.config/fish/functions/fish_greeting.fish
Or
$ function fish_greeting.fish
end
$ funcsave fish_greeting.fish