Cleaned Vundle + created dispatch

This commit is contained in:
xdrm-brackets 2017-01-12 11:16:29 +01:00
parent 43bb291e88
commit 06d8607268
3 changed files with 16 additions and 5 deletions

@ -1 +0,0 @@
Subproject commit 88688fe453038ac1ac26e31646cfbec50fca2fb7

11
dispatch Executable file
View File

@ -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;

9
update
View File

@ -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;