diff --git a/bin/update b/bin/update index b244b974..2ee29f89 100755 --- a/bin/update +++ b/bin/update @@ -19,25 +19,6 @@ up-to-date() { cd "$HOME/.emacs.d" && make update | indent } -local env=(rb py) -for i in $env -do - [ -d "$HOME/.${i}env" ] && { - echo "Updating ${i}env" - { - git pull > /dev/null - { - for plugin in "$HOME"/.${i}env/plugins/* - do - cd "$plugin" - echo "+ `basename ${plugin}`" - git pull > /dev/null - done - } 2>&1 | indent - } 2>&1 | indent - } -done - [ -d ~/.zsh/zgen ] && { echo "Updating zgen" { @@ -47,3 +28,19 @@ done } 2>&1 | indent } +local env=(rb py) +for i in $env +do + [ -d "$HOME/.${i}env" ] && { + echo "Updating ${i}env" + { + for plugin in "$HOME"/.${i}env/plugins/* + do + cd "$plugin" + echo "+ `basename ${plugin}`" + git pull > /dev/null + done + } 2>&1 | indent + } +done +