Last active
October 25, 2016 06:02
-
-
Save flash1293/755ef13d79056eb8b860 to your computer and use it in GitHub Desktop.
Homebrew install-script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
brew tap caskroom/cask | |
brew install caskroom/cask/brew-cask | |
brew cask install google-chrome | |
brew cask install atom | |
brew cask install dockertoolbox | |
brew cask install firefox | |
brew cask install sourcetree | |
brew cask install google-drive | |
docker-machine create -d "virtualbox" default | |
brew install ag | |
brew install node | |
brew install cloc | |
brew install zsh | |
brew install zsh-completions | |
brew install autojump | |
npm install bower -g | |
npm install gulp -g | |
npm install js-beautify -g | |
npm install eslint -g | |
brew cask install dropbox | |
brew cask install spotify | |
brew cask install libreoffice | |
brew cask install gimp | |
brew cask install iterm2 | |
sudo sh -c "echo \"/usr/local/bin/zsh\" >> /etc/shells" | |
chsh -s /usr/local/bin/zsh | |
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh | |
echo "alias a=\"atom .\"" >> ~/.zshrc | |
echo "alias o=\"open\"" >> ~/.zshrc | |
echo "alias serve=\"python -m SimpleHTTPServer 8000\"" >> ~/.zshrc | |
echo "alias gca=\"git add . && git commit\"" >> ~/.zshrc | |
cd ~/.vim | |
git clone https://github.com/kien/ctrlp.vim.git bundle/ctrlp.vim | |
echo "set runtimepath^=~/.vim/bundle/ctrlp.vim" >> ~/.vimrc | |
echo "set number" >> ~/.vimrc | |
echo "set autoindent" >> ~/.vimrc | |
echo "set noswapfile" >> ~/.vimrc | |
echo "set laststatus=2" >> ~/.vimrc | |
echo "set backspace=indent,eol,start" >> ~/.vimrc | |
echo "syntax on" >> ~/.vimrc | |
git clone https://github.com/leafgarland/typescript-vim.git ~/.vim/bundle/typescript-vim | |
git clone git@github.com:scrooloose/syntastic.git ~/.vim/bundle/syntastic | |
git clone https://github.com/vim-airline/vim-airline ~/.vim/bundle/vim-airline | |
git clone git@github.com:Chiel92/vim-autoformat.git ~/.vim/bundle/vim-autoformat | |
mkdir -p ~/.vim/autoload ~/.vim/bundle | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
echo "execute pathogen#infect()" >> ~/.vimrc | |
echo "let g:ctrlp_cache_dir = $HOME . '/.cache/ctrlp'" >> ~/.vimrc | |
echo "if executable('ag')" >> ~/.vimrc | |
echo " let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'" >> ~/.vimrc | |
echo "endif" >> ~/.vimrc | |
echo "let g:airline_section_c = airline#section#create(['%<', 'path', ' ', 'readonly'])" >> ~/.vimrc | |
echo "let g:syntastic_javascript_checkers = ['eslint']" >> ~/.vimrc | |
echo "let g:syntastic_check_on_wq = 0" >> ~/.vimrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment