fish_greeting: cat todo.txt only if file exists

This commit is contained in:
Dirk Alders 2025-03-02 14:54:52 +01:00
parent 0f2e88a21a
commit 734dd69bc5

View File

@ -3,5 +3,9 @@ function fish_greeting
#
nagios_status
#
echo; echo; cat ~/todo.txt
if test -f ~/todo.txt
echo
echo
cat ~/todo.txt
end
end