latest updates and additions

This commit is contained in:
Noah Masur
2020-11-10 18:14:36 -05:00
parent 5e6182a20b
commit 4871138e0a
8 changed files with 25 additions and 15 deletions

View File

@ -16,8 +16,7 @@ function aliases --description 'All aliases'
abbr -a gc 'git commit -m'
abbr -a gu 'git pull'
abbr -a gp 'git push'
abbr -a gh 'hub'
abbr -a ghb 'hub browse'
abbr -a ghb 'gh repo view -w'
# Vim
abbr -a v 'vim'

View File

@ -11,7 +11,7 @@ function notes --description "Notes functions"
set yesterday (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")
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![[🎯 Active Tasks]]\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal
echo "New journal added."
end
end
@ -26,7 +26,7 @@ function notes --description "Notes functions"
set yesterday (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")
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![[🎯 Active Tasks]]\n# Log\n\n\n# Communication\n\n---\n\n# Meetings\n\n" > $today_journal
echo "New journal added."
vim $today_journal
end