mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
cleanup journal notes script
This commit is contained in:
parent
87c5cd24be
commit
ac0e07e330
@ -21,7 +21,7 @@ function notes --description "Notes functions"
|
||||
echo "Already exists."
|
||||
else
|
||||
note_header
|
||||
echo $JOURNAL_HEADER > $NOTES_PATH/$TODAY_NOTE.md
|
||||
printf $JOURNAL_HEADER > $NOTES_PATH/$TODAY_NOTE.md
|
||||
echo "New journal added."
|
||||
end
|
||||
end
|
||||
@ -34,7 +34,7 @@ function notes --description "Notes functions"
|
||||
vim $TODAY_NOTE.md
|
||||
else
|
||||
note_header
|
||||
echo $JOURNAL_HEADER > $TODAY_NOTE.md
|
||||
printf $JOURNAL_HEADER > $TODAY_NOTE.md
|
||||
echo "New journal added."
|
||||
vim $TODAY_NOTE.md
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user