From 265e5f8a15805765c09697cb1b2f31d088497c23 Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Tue, 12 Mar 2019 15:07:25 -0400 Subject: [PATCH] Pull vimwiki before editing --- bash/.profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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