mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 19:54:53 +00:00
10 lines
198 B
Fish
10 lines
198 B
Fish
|
function syncnotes --description "Full git commit on notes"
|
||
|
set current_dir $PWD
|
||
|
cd $NOTES_PATH
|
||
|
git pull
|
||
|
git add -A
|
||
|
git commit -m "autosync"
|
||
|
git push
|
||
|
cd $current_dir
|
||
|
end
|