fish_greeting: cat todo.txt only if file exists
This commit is contained in:
parent
0f2e88a21a
commit
734dd69bc5
@ -3,5 +3,9 @@ function fish_greeting
|
|||||||
#
|
#
|
||||||
nagios_status
|
nagios_status
|
||||||
#
|
#
|
||||||
echo; echo; cat ~/todo.txt
|
if test -f ~/todo.txt
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
cat ~/todo.txt
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user