mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-30 01:05:37 +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
|