install.sh: don't autoinstall vim
This commit is contained in:
		
							parent
							
								
									59c5b59648
								
							
						
					
					
						commit
						0773c76323
					
				| 
						 | 
					@ -2,12 +2,10 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# In case this file was run via curl
 | 
					# In case this file was run via curl
 | 
				
			||||||
[ ! -d ~/.dotfiles ] && git clone --recursive https://github.com/hlissner/dotfiles ~/.dotfiles
 | 
					[ ! -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
 | 
					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")
 | 
					    filep="$HOME/."$(basename "$rcfile")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    [ "$1" == "--force" ] && rm -f "$filep"
 | 
					    [ "$1" == "--force" ] && rm -f "$filep"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue