mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 06:45:36 +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
|