fish: disable khal list on startup
This commit is contained in:
parent
665b12a7aa
commit
80ffdf4039
|
@ -74,18 +74,19 @@ end
|
|||
# Show reminders on startup
|
||||
################################################################
|
||||
|
||||
command -qs khard &&
|
||||
function fish_greeting
|
||||
command -qs khal
|
||||
or return
|
||||
set -l khalList (khal --color list now 5d)
|
||||
test -n "$khalList"
|
||||
or return
|
||||
echo $khalList | strip-escape | string match -qr '^No events$'
|
||||
and return
|
||||
printf "%s\n" $khalList
|
||||
end
|
||||
function fish_greeting
|
||||
command -qs khal
|
||||
or return
|
||||
set -l khalList (khal --color list now 5d)
|
||||
test -n "$khalList"
|
||||
or return
|
||||
echo $khalList | strip-escape | string match -qr '^No events$'
|
||||
and return
|
||||
printf "%s\n" $khalList
|
||||
end
|
||||
|
||||
function fish_greeting
|
||||
end
|
||||
|
||||
################################################################
|
||||
# Git
|
||||
|
|
Reference in New Issue