diff --git a/bundle/Vundle.vim b/bundle/Vundle.vim deleted file mode 160000 index 88688fe..0000000 --- a/bundle/Vundle.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 88688fe453038ac1ac26e31646cfbec50fca2fb7 diff --git a/dispatch b/dispatch new file mode 100755 index 0000000..eeb2115 --- /dev/null +++ b/dispatch @@ -0,0 +1,11 @@ +#!/bin/sh + + +src=`pwd` +targ="$HOME/.vim" + +# updated files +cp $src/.vimrc $HOME/.vimrc; +cp -r $src/colors $targ/colors; +cp -r $src/config $targ/config; +cp -r $src/snippets $targ/snippets; diff --git a/update b/update index 18dc418..c7bdf9b 100755 --- a/update +++ b/update @@ -2,12 +2,13 @@ targ="$HOME/.vim" +src=`pwd` # remove files -rm -r .vimrc; -rm -r ./colors; -rm -r ./config; -rm -r ./snippets; +rm -r $src/.vimrc; +rm -r $src/colors; +rm -r $src/config; +rm -r $src/snippets; # copy updated files cp -r $HOME/.vimrc ./.vimrc;