#!/bin/zsh echo "Make sure this is in your .vimrc" echo "Plug 'https://github.com/Valloric/YouCompleteMe'" echo -n "Press enter to continue..." read a mkdir ~/ycm_build cd ~/ycm_build touch .nobackup 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..." read a vim +q