feat: Override default fish greeting to allow the motd to work

This commit is contained in:
Kyle Gospodnetich 2024-01-29 09:18:34 -08:00
parent 05dd6e20d6
commit adfa1e0a57

View File

@ -0,0 +1,13 @@
function fish_greeting
if test -d "$HOME"
if test ! -e "$HOME"/.config/no-show-user-motd
if test -x "/usr/libexec/ublue-motd"
/usr/libexec/ublue-motd
end
end
end
if set -q fish_private_mode
echo "fish is running in private mode, history will not be persisted."
end
end