Skip to content

Commit

Permalink
Install CMake (for YCM) in install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
timblair committed Oct 21, 2015
1 parent 0a24138 commit 0222e63
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions install.sh
@@ -1,11 +1,5 @@
#!/bin/bash

# Install MacVim as follows:
# $ brew install macvim --env-std --override-system-vim
#
# Install font with Powerline patches:
# https://github.com/Lokaltog/powerline-fonts/blob/master/InconsolataDz/Inconsolata-dz%20for%20Powerline.otf?raw=true

git clone git://github.com/timblair/vimfiles.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc && cd ~/.vim

Expand All @@ -15,4 +9,9 @@ else
mkdir -p ~/.local/share/vim/{swap,backup,undo}
fi

# Install CMake for YCMm (I'm on OS X, so we'll use Homebrew)
if hash brew 2>/dev/null; then
$( hash cmake 2>/dev/null ) || brew install cmake
fi

vim +PlugInstall +qall

0 comments on commit 0222e63

Please sign in to comment.