dotfiles/fish.configlink/functions/syncnotes.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