Install vim plugins

This commit is contained in:
Chocobozzz 2016-04-17 21:45:52 +02:00
parent 05061577ce
commit b49146e407
1 changed files with 8 additions and 8 deletions

View File

@ -12,13 +12,10 @@ for musthave in $musthaves; do
fi fi
done done
# Vim setup
if (! test -d "$HOME/.vim" ); then
mkdir "$HOME/.vim"
fi
# ZSH setup # ZSH setup
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" SHELL=zsh sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
echo "Setting ZSH as default."
echo "exec zsh" >> "$HOME/.bashrc"
# Copy configurations # Copy configurations
tempdir="temp_$(date -I)" tempdir="temp_$(date -I)"
@ -35,5 +32,8 @@ rootdir="$(ls)"
cd "$rootdir/configurations" || exit cd "$rootdir/configurations" || exit
cp .* "$HOME/" cp .* "$HOME/"
echo "Setting ZSH as default (/bin/zsh)." # Vim setup
echo "exec zsh" >> "$HOME/.bashrc" if (! test -d "$HOME/.vim" ); then
mkdir "$HOME/.vim"
fi
vim +PluginInstall +qall