-
Notifications
You must be signed in to change notification settings - Fork 1
/
brew-it
executable file
·156 lines (113 loc) · 3.68 KB
/
brew-it
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
#!/bin/bash
if [ "$(uname -s)" != "Darwin" ]; then
exit 0
fi
#requires xcode to be installed and the xcode terminal tools to be installed
#install xcode command line tools
xcode-select --install
#ensure brew is installed
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Remove Old Brew?
#if [ command -v brew >/dev/null 2>&1 ]; then
# echo "Brew not installed. Installing Brew..."
# brew doctor
# so that brew install does not require root privledge
# sudo chown -R $USER /usr/local/*
#fi
# End Remove Old Brew
echo "Updating Homebrew packages..."
brew update
# to install apps like chrome that aren't development packages
# https://github.com/caskroom/homebrew-cask
brew install caskroom/cask/brew-cask
# needed for version control info on the shell
brew install vcprompt
# zsh shell
brew install zsh
# fish shell
# brew install fish
# macvim
brew install macvim --with-cscope --with-lua --override-system-vim
# go sometimes pulls down mercurial repositories
brew install mercurial
brew install wget
brew install tree
brew tap caskroom/cask
brew install brew-cask
brew install gpg
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
brew install git
# a better ack/grep
brew install the_silver_searcher
# Fast GitHub client in go
# brew install gh
# github .gitignore templates
# brew install gibo
# this directory is required by gibo
if [ ! -d $HOME/.gitignore-boilerplates ]; then
mkdir $HOME/.gitignore-boilerplates
fi
#Terminal replacement
brew cask install iterm2
# visual diff
brew cask install p4merge
# http://pempek.net/articles/2014/04/18/git-p4merge/
# https://gist.github.com/tony4d/3454372
# http://blogs.pdmlab.com/alexander.zeitler/articles/installing-and-configuring-p4merge-for-git-on-ubuntu/
git config --global merge.tool p4mergeTool
git config --global mergetool.p4mergetool.cmd "/Applications/p4merge.app/Contents/Resources/launchp4merge \$PWD/\$BASE \$PWD/\$REMOTE \$PWD/\$LOCAL \$PWD/\$MERGED"
git config --global mergetool.p4mergetool.trustExitCode false
git config --global mergetool.keepBackup false
#git config --global diff.tool p4mergetool
#git config --global difftool.p4mergetool.cmd "/Applications/p4merge.app/Contents/Resources/launchp4merge \$LOCAL \$REMOTE"
# c++ library
# brew install boost
# event notification library
# brew install libevent
# video player
brew cask install vlc
#http://www.economyofeffort.com/2014/08/11/beyond-ctrl-remap-make-that-caps-lock-key-useful/
brew cask install karabiner
#seil is not necessary if you set the system preferences for caps lock to control
#vagrant and virtualbox vm
brew cask install vagrant
brew cask install virtualbox
#brew cask install chefdk
#docker
brew install boot2docker
# http://docs.oracle.com/cd/E37670_01/E41138/html/ch11s07.html
# https://github.com/brona/iproute2mac
brew tap brona/iproute2mac
brew install iproute2mac
# IRC client
brew cask install limechat
# Sublime Text Editor
brew tap caskroom/versions
brew cask install sublime-text3
sudo easy_install pip
sudo pip install ansible --quiet
sudo pip install --upgrade bumpversion
# nodejs
# brew install node
# Fuzzy finder
#brew install fzf
# install modern ruby version manager
#brew install rbenv ruby-build
#rbenv install 2.2.0
#Documentation for almost all languages, also snippet manager
# brew cask install dash
## IMAGE Manipulation
# http://www.imagemagick.org/
# brew install imagemagick
# brew install phash
# brew install cmake
# brew install cimg
# brew install ffmpeg
# brew install lua
# brew install git-extras
# VIPS imaging library
# https://github.com/jcupitt/ruby-vips/wiki/installation-on-various-platforms
# brew tap homebrew/science
# brew install vips
# for editing gifs
# brew install giflib