Courtnix Blog

Disable Fish Shell Greeting



I have been using the fish shell recently. I have it tweaked some, and one day (probably after an update), I started to get this message:

Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish

> ~

Not sure why I need a greeting every time, don’t want it. So I found two ways to disable this functionality:

1. Create an Empty Function File

The method I chose was to create an empty file at $HOME/.config/fish/functions/fish_greeting.fish.

2. Update config.fish

Adding this line to your config.fish file will suppress the message:

set fish_greeting

That’s all you should need to do. Enjoy the quieter prompt.