-
Notifications
You must be signed in to change notification settings - Fork 0
/
brew-init.sh
executable file
·59 lines (53 loc) · 957 Bytes
/
brew-init.sh
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
#! /bin/bash
# brew-init.sh
#
# Installs and replace coreutils for osx
#
trap 'exit $?' SIGINT
taps=( \
'homebrew/dupesi' \
)
installs=( \
'coreutils' \
'binutils' \
'diffutils' \
'ed --default-names' \
'findutils --default-names' \
'gawk' \
'gnu-indent --default-names' \
'gnu-sed --default-names' \
'gnu-tar --default-names' \
'gnu-which --default-names' \
'gnutls --default-names' \
'grep --default-names' \
'gzip' \
'screen' \
'watch' \
'wdiff --with-gettext' \
'wget' \
'bash' \
'emacs' \
'gdb' \
'gpatch' \
'm4' \
'make' \
'nano' \
'file-formula' \
'git' \
'less' \
'openssh --with-brewed-openssl' \
'python --with-brewed-openssl' \
'rsync' \
'svn' \
'unzip' \
'vim --override-system-vi' \
'macvim --override-system-vim --custom-system-icons' \
'zsh' \
)
for tap in "${taps[@]}"; do
brew tap $tap
done
for install in "${installs[@]}"; do
brew install $install
done
# gdb requires further actions to make it work. See `brew info gdb`.' \