mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-30 02:15:38 +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
|