mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 19:10:33 +00:00
feat: Override default fish greeting to allow the motd to work
This commit is contained in:
parent
05dd6e20d6
commit
adfa1e0a57
@ -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
|
Loading…
Reference in New Issue
Block a user