Fix bug when install.sh is not called from current directory
This commit is contained in:
@ -10,9 +10,10 @@ link_config () {
|
||||
if [ ! -d ~/.vim/bundle ]; then
|
||||
mkdir -p ~/.vim/bundle
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||
vim +PluginInstall +qall
|
||||
fi
|
||||
|
||||
for file in $(ls *); do
|
||||
for file in $(ls "$DIR"); do
|
||||
[ "$file" == "install.sh" ] && continue
|
||||
[ "$file" == "README.md" ] && continue
|
||||
link_config "$file"
|
||||
|
Reference in New Issue
Block a user