Cleanup code

This commit is contained in:
Henrik Lissner 2013-03-21 12:33:12 -04:00
parent bf2ef1b4e5
commit 87917109f8
2 changed files with 5 additions and 4 deletions

View file

@ -29,7 +29,6 @@ if ! command-exists brew ; then
brew install php54 --with-fpm --with-imap --with-mysql --with-pgsql --without-apache
brew install php54-imagick php54-mcrypt php54-xdebug readline
} | indent
else
echoh "==> Homebrew: Updating"
{

View file

@ -1,7 +1,5 @@
#!/bin/zsh
source $(cd "$(dirname "$0")/.."; pwd)/zshrc
if ! command-exists "brew"; then
echo "Homebrew is required!"
exit
@ -17,6 +15,9 @@ if [ ! -e ~/.vimrc ]; then
if [ -d ~/.vim ]; then
rm -rf ~/.vim
rm ~/.vimrc
rm ~/.vimrc.bundles
rm ~/.gvimrc
fi
sh <(curl https://raw.github.com/hlissner/mlvim/master/install.sh -L) | indent
fi
@ -28,7 +29,8 @@ echoh "==> Vim: Updating..."
| while read line; do cd $line && echo -n "$(basename $line): " && git pull; done
} | indent
if [ -d ~/.vim/bundle/YouCompleteMe ] && [ ! -e ~/.vim/bundle/YouCompleteMe/python/ycm_core.so ]; then
YVM_DIR="~/.vim/bundle/YouCompleteMe"
if [ -d $YVM_DIR ] && [ ! -e $YVM_DIR/python/ycm_core.so ]; then
echoh "==> Vim: Trying to compile YCM"
{
brew install cmake