blob: 7e54dfa723d41512fe965e40fd98390cadd4b2c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
function todj -d "Shows the current daily journal" --argument-names 'vimopt'
if test -n "$vimopt"
if test $vimopt = "-v"
set CMD vim
else
echo "Do not recognise $vimopt. Did you mean -v?"
return
end
else
set CMD cat
end
$CMD $(find /home/lemon/Notes/journal -name "*$(date '+%Y-%m-%d')*")
end
|