Skip to content

Instantly share code, notes, and snippets.

@ccashwell
Last active December 16, 2015 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccashwell/5464337 to your computer and use it in GitHub Desktop.
Save ccashwell/5464337 to your computer and use it in GitHub Desktop.
WIP
#!/bin/bash
#
# This script will get a Chris-approved environment setup done right, with just one command. Enjoy.
echo -e "##### Installing: RVM #####\n"
curl -L https://get.rvm.io | bash -s stable --autolibs=3 --rails
echo -e "##### Installing: Homebrew #####\n"
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
echo -e "##### Installing: Git SCM #####\n"
brew install git
echo -e "##### Installing: Git Config #####\n"
curl https://gist.github.com/ccashwell/5460652/raw/669af560fe6b65bb0120eee436ba97c3a9cb5318/.gitconfig -o ~/.gitconfig
echo -e "##### Installing: MacVim #####\n"
brew install macvim
echo -e "##### Installing: Vim Config #####\n"
git clone git@github.com:ccashwell/vim-config.git ~/.vim
cd ~/.vim
git submodule update --init
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/ackrc ~/.ackrc
echo -e "##### Installing: Custom Vim Mappings #####\n"
curl https://gist.github.com/ccashwell/5405446/raw/5128df0a25ab9b1035112eed1afe8b637994e2fa/.vimrc.local -o ~/.vimrc.local
finishArt() {
cat <<"EOA"
.-"^`\ /`^"-.
.' ___\ /___ `.
/ /.---. .---.\ \
| // '-. ___________________________ .-' \\ |
| ;| \/--------------------------// |; |
\ || |\_) (_/| || /
\ | \ . \ ; | That'll do, pig. || ; / . / | /
'\_\ \\ \ \ \ | ||/ / / // /_/'
\\ \ \ \| That'll do. |/ / / //
`'-\_\_\ /_/_/-'`
'--------------------------'
EOA
}
finishArt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment