summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-08-05 15:25:30 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-08-05 15:25:30 +0200
commitebbba7b66f312ec3d21dc7d80b7c574b270286c5 (patch)
tree6155e27b8d090f8544bd98b5dbd0f7a433fd1b68
parent7c6a1b04fd4b94d423895f3dc240a08857275cc5 (diff)
downloadvim-ebbba7b66f312ec3d21dc7d80b7c574b270286c5.zip
vim-ebbba7b66f312ec3d21dc7d80b7c574b270286c5.tar.gz
install simply removes all .vim* files
-rwxr-xr-xinstall3
1 files changed, 1 insertions, 2 deletions
diff --git a/install b/install
index 499f2cf..5240515 100755
--- a/install
+++ b/install
@@ -2,9 +2,8 @@
DIR=$(readlink -f $(dirname $0))
pushd $HOME >/dev/null
-[ -e .vim ] & rm .vim
+rm .vim*
ln -sf $DIR .vim
-[ -e .vimrc ] & rm .vimrc
ln -sf $DIR/vimrc .vimrc
popd $HOME >/dev/null