Disable welcome message in Fish Shell
The default welcome message in Fish can be surpressed or customized.
Disable welcome message
A frequently asked question is “How do I change the greeting message?”. It can be completed by editing the config.fish
file:
1vim ~/.config/fish/config.fish
Using the g
global flag, the fish_greeting
variable can be set to empty.
1set -g fish_greeting
Customize welcome message
In addition to disabling, the message can be customized.
1vim ~/.config/fish/functions/fish_greeting.fish
1function fish_greeting
2 echo "greetings!"
3end