-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrew.sh
executable file
·77 lines (63 loc) · 1.25 KB
/
brew.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/sh -xe
# echo "installing homebrew..."
# which brew >/dev/null 2>&1 || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# echo "run brew doctor..."
# which brew >/dev/null 2>&1 && brew doctor
# echo "run brew update..."
# which brew >/dev/null 2>&1 && brew update
# echo "ok. run brew upgrade..."
# brew upgrade
formulas=(
git
wget
curl
screen
tree
openssl
colordiff
vim
zsh
zsh-completions
peco
fzf
ghq
tmux
hub
tig
ricty
diff-so-fancy
)
echo "start brew install apps..."
for formula in "${formulas[@]}"; do
brew install $formula || brew upgrade $formula
done
# brew tap caskroom/cask
# casks=(
# dropbox
# evernote
# google-chrome
# firefox
# google-japanese-ime
# slack
# docker
# alfred
# notion
# iterm2
# visual-studio-code
# intellij-idea
# 1password
# shiftit
# funter
# spark
# )
# echo "start brew cask install apps..."
# for cask in "${casks[@]}"; do
# brew cask install $cask
# done
brew cleanup
# brew cask cleanup
cat << END
**************************************************
HOMEBREW INSTALLED! bye.
**************************************************
END