Added youcompleteme.sh

This commit is contained in:
Austen Adler 2015-07-17 08:27:36 -04:00
parent b4e4a15bb5
commit 65d026f648

12
scripts/youcompleteme.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/zsh
echo "Make sure this is in your .vimrc"
echo "Plug 'https://github.com/Valloric/YouCompleteMe'"
echo -n "Press enter to continue..."
mkdir ~/ycm_build
cd ~/ycm_build
cmake -G "Unix Makefiles" . ~/.vim/plugged/YouCompleteMe/third_party/ycmd/cpp
make ycm_support_libs
cd -
echo "It should be done."
echo -n "Running vim to test for errors. Press enter to continue..."
vim +q