-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·94 lines (79 loc) · 1.37 KB
/
install.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#/bin/sh
if ! [ -x /usr/local/bin/brew ]; then
hburl=https://raw.githubusercontent.com/Homebrew/install/master/install
ruby -e "$(curl -fsSL $hburl)"
fi
tap() {
if ! brew tap | grep -q $1; then
brew tap $1
fi
}
pkg() {
brew ls --versions $1 >/dev/null || brew install "$@"
}
app() {
if ! brew cask ls --versions $1 >/dev/null 2>/dev/null; then
if [ "$2" ]; then
brew cask install $2
else
brew cask install $1
fi
fi
}
mas() {
command mas list | grep -q ^$1 || command mas install $1
}
service() {
if ! brew services list | grep -q "$1.*started"; then
brew services start $1
fi
}
# Support
pkg mas
# CLI
pkg bash
pkg bash-completion
pkg git
pkg tmux
pkg the_silver_searcher
# WM
app bitbar
tap crisidev/homebrew-chunkwm
pkg chunkwm --without-completions
service chunkwm
tap koekeishiya/homebrew-formulae
pkg skhd
service skhd
# Dev
pkg azure-cli
tap caskroom/versions
app java8
pkg maven
app intellij-idea-ce
pkg git-credential-manager
app visual-studio-code
tap homebrew/cask-fonts
app font-ibm-plex
app datagrip
# Desktop
app firefox
mas 803453959 # Slack
mas 904280696 # Things 3
mas 568494494 # Pocket
mas 880001334 # Reeder 3
app keybase
app aerial
app latest
# Media
app iina
app plex-media-player
# Security
app oversight
app lulu
mas 1333542190 # 1Password
# Menubar
app usage
app keepingyouawake
# Office
app skype-for-business
app microsoft-office