2016-12-14 19:53:27 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
|
|
targ="$HOME/.vim"
|
2017-01-12 10:16:29 +00:00
|
|
|
src=`pwd`
|
2016-12-14 19:53:27 +00:00
|
|
|
|
|
|
|
# remove files
|
2017-01-12 10:16:29 +00:00
|
|
|
rm -r $src/.vimrc;
|
|
|
|
rm -r $src/colors;
|
|
|
|
rm -r $src/config;
|
|
|
|
rm -r $src/snippets;
|
2016-12-14 19:53:27 +00:00
|
|
|
|
|
|
|
# copy updated files
|
|
|
|
cp -r $HOME/.vimrc ./.vimrc;
|
|
|
|
cp -r $targ/colors ./colors;
|
|
|
|
cp -r $targ/config ./config;
|
|
|
|
cp -r $targ/snippets ./snippets;
|