add brew, macvim and vim install to the setup script
[master]
This commit is contained in:
parent
49d7f1d334
commit
d5797265cb
1 changed files with 18 additions and 0 deletions
|
@ -16,3 +16,21 @@ catch
|
||||||
endtry' > ~/.vimrc
|
endtry' > ~/.vimrc
|
||||||
|
|
||||||
echo "Installed the Ultimate Vim configuration successfully! Enjoy :-)"
|
echo "Installed the Ultimate Vim configuration successfully! Enjoy :-)"
|
||||||
|
|
||||||
|
# check for mvim installation
|
||||||
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
echo "Checking for brew ....."
|
||||||
|
which -s brew
|
||||||
|
if [[ $? != 0 ]] ; then
|
||||||
|
echo "Brew not found. Starting install now ...."
|
||||||
|
# Install Homebrew
|
||||||
|
# https://github.com/mxcl/homebrew/wiki/installation
|
||||||
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
|
||||||
|
echo "Brew install complete!"
|
||||||
|
else
|
||||||
|
echo "Brew found. Running update...."
|
||||||
|
brew update
|
||||||
|
fi
|
||||||
|
echo "Installing macvim and vim"
|
||||||
|
brew install macvim vim
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue