blob: 10348856329f115b02568dbf94de7d61ae041baf (
plain) (
tree)
|
|
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/Documents/Notes/journal -name "*$(date '+%Y-%m-%d')*")
end
|