mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 03:50:15 +00:00
add syncnotes git automation
This commit is contained in:
@ -46,4 +46,14 @@ function notes --description "Notes functions"
|
||||
vim ~/Documents/notes/$argv[1].md
|
||||
end
|
||||
|
||||
abbr -a sn 'syncnotes'
|
||||
function syncnotes --description "Full git commit on notes"
|
||||
cd $HOME/Documents/notes
|
||||
git pull
|
||||
git add -A
|
||||
git commit -m "autosync"
|
||||
git push
|
||||
cd -
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user