From 0773c7632309c84314a33da2fbeeb197a5ce21a4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 20 Dec 2015 23:37:13 -0500 Subject: [PATCH] install.sh: don't autoinstall vim --- install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 8188f4c2..bd2be092 100755 --- a/install.sh +++ b/install.sh @@ -2,12 +2,10 @@ # In case this file was run via curl [ ! -d ~/.dotfiles ] && git clone --recursive https://github.com/hlissner/dotfiles ~/.dotfiles -[ ! -d ~/.vim ] && git clone --recursive https://github.com/hlissner/vim ~/.vim - -~/.vim/install.sh shopt -s extglob -for rcfile in "$HOME"/.dotfiles/!(bin|scripts|README.md|install.sh|Gemfile*); do +for rcfile in "${HOME}/.dotfiles/!(.*|bin|scripts|*.md|install.sh)" +do filep="$HOME/."$(basename "$rcfile") [ "$1" == "--force" ] && rm -f "$filep"