diff --git a/bash/.profile b/bash/.profile index beeb5b7..8293c2e 100644 --- a/bash/.profile +++ b/bash/.profile @@ -10,7 +10,7 @@ configure_completions alias vim="nvim" alias notes="vim ~/notes.md" -alias vw="nvim -c \"VimwikiIndex\"; cd ~/Code/ntietz/vimwiki; git add -A && git commit -am \"Auto-commit ($(date))\" && git push; cd -" +alias vw="cd ~/Code/ntietz/vimwiki; git pull; nvim -c \"VimwikiIndex\"; git add -A && git commit -am \"Auto-commit ($(date))\" && git push; cd -" alias update_configs="cd ~/Code/ntietz/config; git pull; cd -; source ~/.profile" # default editor