mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 13:05:37 +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."
|
echo "Already exists."
|
||||||
else
|
else
|
||||||
note_header
|
note_header
|
||||||
echo $JOURNAL_HEADER > $NOTES_PATH/$TODAY_NOTE.md
|
printf $JOURNAL_HEADER > $NOTES_PATH/$TODAY_NOTE.md
|
||||||
echo "New journal added."
|
echo "New journal added."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -34,7 +34,7 @@ function notes --description "Notes functions"
|
|||||||
vim $TODAY_NOTE.md
|
vim $TODAY_NOTE.md
|
||||||
else
|
else
|
||||||
note_header
|
note_header
|
||||||
echo $JOURNAL_HEADER > $TODAY_NOTE.md
|
printf $JOURNAL_HEADER > $TODAY_NOTE.md
|
||||||
echo "New journal added."
|
echo "New journal added."
|
||||||
vim $TODAY_NOTE.md
|
vim $TODAY_NOTE.md
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user