mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 18:05:37 +00:00
fix typo in journal
This commit is contained in:
parent
7b9540cd48
commit
2152c1739c
@ -11,7 +11,7 @@ function notes --description "Notes functions"
|
|||||||
set yesterday (date -jv "-1d" +"%Y-%m-%d_%a")
|
set yesterday (date -jv "-1d" +"%Y-%m-%d_%a")
|
||||||
set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a")
|
set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a")
|
||||||
set weather (curl -s "https://wttr.in/?format=1")
|
set weather (curl -s "https://wttr.in/?format=1")
|
||||||
printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n # Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal
|
printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n# Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal
|
||||||
echo "New journal added."
|
echo "New journal added."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -26,7 +26,7 @@ function notes --description "Notes functions"
|
|||||||
set yesterday (date -jv "-1d" +"%Y-%m-%d_%a")
|
set yesterday (date -jv "-1d" +"%Y-%m-%d_%a")
|
||||||
set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a")
|
set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a")
|
||||||
set weather (curl -s "https://wttr.in/?format=1")
|
set weather (curl -s "https://wttr.in/?format=1")
|
||||||
printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n # Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal
|
printf "[[$yesterday|Previous]] - [[calendar|Index]] - [[$tomorrow|Next]]\n\n---\n\n$weather\n\n# Tasks\n\n\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal
|
||||||
echo "New journal added."
|
echo "New journal added."
|
||||||
vim $today_journal
|
vim $today_journal
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user