Added YouCompleteMe back and update install script

This commit is contained in:
Dreaded_X 2014-08-31 22:28:20 +02:00
parent ce98650c57
commit 588224a591
3 changed files with 27 additions and 0 deletions

3
.gitmodules vendored
View File

@ -13,3 +13,6 @@
[submodule "vim/bundle/vim-colors-solarized"]
path = vim/bundle/vim-colors-solarized
url = git@github.com:altercation/vim-colors-solarized
[submodule "vim/bundle/YouCompleteMe"]
path = vim/bundle/YouCompleteMe
url = git@github.com:Valloric/YouCompleteMe.git

View File

@ -26,6 +26,29 @@ while true; do
esac
done
while true; do
read -p "Do you wish to update all submodules?" yn
case $yn in
[Yy]* ) git submodule update --init --recursive
break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done
while true; do
read -p "Do you wish to compile YCM?" yn
case $yn in
[Yy]* ) ./vim/bundle/YouCompleteMe/install.sh
break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done
git submodule update --init --recursive
if [ ! -f /usr/local/bin/tmux-vim-select-pane ]; then
curl -fsSL https://raw.github.com/mislav/dotfiles/1500cd2/bin/tmux-vim-select-pane -o /usr/local/bin/tmux-vim-select-pane;
chmod +x /usr/local/bin/tmux-vim-select-pane;

@ -0,0 +1 @@
Subproject commit af0fdef1b91717d74e11718eb0ce9a49b061348a