mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 18:30:13 +00:00
latest updates and additions
This commit is contained in:
@ -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'
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user