mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 22:00:14 +00:00
clean up scripts
This commit is contained in:
@ -4,8 +4,10 @@ SETUVAR OP_SESSION_enterprise_console:CoIqb03EMshttN\x2dvIfdyWOhc6IIckFS6mBfvRQ9
|
||||
SETUVAR __fish_initialized:3100
|
||||
SETUVAR _fish_abbr__01_t:cat
|
||||
SETUVAR _fish_abbr_boot:\x24DOTS/scripts/bootstrap
|
||||
SETUVAR _fish_abbr_brews:vim\x20\x24DOTS/homebrew/Brewfile
|
||||
SETUVAR _fish_abbr_c:cd
|
||||
SETUVAR _fish_abbr_ca:cargo
|
||||
SETUVAR _fish_abbr_casks:vim\x20\x24DOTS/homebrew/Caskfile
|
||||
SETUVAR _fish_abbr_cat:bat
|
||||
SETUVAR _fish_abbr_d:deactivate
|
||||
SETUVAR _fish_abbr_db:docker\x20build\x20\x2e\x20\x2dt
|
||||
|
@ -6,6 +6,9 @@ function mactools
|
||||
cat $argv | pbcopy
|
||||
end
|
||||
|
||||
abbr -a brews 'vim $DOTS/homebrew/Brewfile'
|
||||
abbr -a casks 'vim $DOTS/homebrew/Caskfile'
|
||||
|
||||
function brewsearch --description "Install brew plugins"
|
||||
set -l inst (brew search | eval "fzf $FZF_DEFAULT_OPTS -m --header='[brew:install]'")
|
||||
|
||||
|
@ -10,7 +10,7 @@ function notes --description "Notes functions"
|
||||
else
|
||||
set yesterday (date -jv "-1d" +"%Y-%m-%d_%a")
|
||||
set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a")
|
||||
set weather (curl "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
|
||||
echo "New journal added."
|
||||
end
|
||||
@ -25,7 +25,7 @@ function notes --description "Notes functions"
|
||||
else
|
||||
set yesterday (date -jv "-1d" +"%Y-%m-%d_%a")
|
||||
set tomorrow (date -jv "+1d" +"%Y-%m-%d_%a")
|
||||
set weather (curl "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
|
||||
echo "New journal added."
|
||||
vim $today_journal
|
||||
|
Reference in New Issue
Block a user