2015-07-17 08:27:36 -04:00
|
|
|
#!/bin/zsh
|
|
|
|
echo "Make sure this is in your .vimrc"
|
|
|
|
echo "Plug 'https://github.com/Valloric/YouCompleteMe'"
|
|
|
|
echo -n "Press enter to continue..."
|
2015-08-26 12:11:28 -04:00
|
|
|
read a
|
2015-07-17 08:27:36 -04:00
|
|
|
mkdir ~/ycm_build
|
|
|
|
cd ~/ycm_build
|
2016-01-10 03:25:01 -05:00
|
|
|
touch .nobackup
|
2015-07-17 08:27:36 -04:00
|
|
|
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..."
|
2015-08-26 12:11:28 -04:00
|
|
|
read a
|
2015-07-17 08:27:36 -04:00
|
|
|
vim +q
|