mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 18:44:52 +00:00
11 lines
258 B
Fish
11 lines
258 B
Fish
|
function journal --description "Create today's journal"
|
||
|
note-dates
|
||
|
if [ -f $TODAY_NOTE_FILE ]
|
||
|
echo "Already exists."
|
||
|
else
|
||
|
note-header
|
||
|
printf $JOURNAL_HEADER > $TODAY_NOTE_FILE
|
||
|
echo "New journal added."
|
||
|
end
|
||
|
end
|