Skip to content

Commit

Permalink
feat: Override default fish greeting to allow the motd to work
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 29, 2024
1 parent 05dd6e2 commit adfa1e0
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit adfa1e0

Please sign in to comment.