-
Notifications
You must be signed in to change notification settings - Fork 1
/
brew.sh
executable file
·95 lines (87 loc) · 1.37 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#!/usr/bin/env bash
if ! is-macos -o ! is-executable ruby -o ! is-executable curl -o ! is-executable git; then
echo "Skipped: Homebrew (missing: ruby, curl and/or git)"
return
fi
if ! is-executable brew; then
echo "Brew is missing. Installing it"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
echo '# Set PATH, MANPATH, etc., for Homebrew.' >>~/.zprofile
# shellcheck disable=2016
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >>~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
brew tap windmilleng/tap
brew tap cubbit/tap
brew tap bazelbuild/tap
brew tap jorgelbg/tap
brew tap jesseduffield/lazydocker
brew tap koekeishiya/formulae
brew update
brew upgrade
apps=(
awscli
bat
bazelisk
btop
buildifier
chafa
clang-format
cmake
commitlint
diff-so-fancy
dockutil
editorconfig-checker
eza
fd
ffmpeg
fzf
gh
git-lfs
go-task
golang
gpg
pngpaste
helm
hub
ibazel
jq
k9s
kubectl
kubectx
lazydocker
lazygit
lf
llvm
mas
neofetch
neovim
ninja
nvm
pandoc
pass
pinentry-mac
pinentry-touchid
python
python3
rclone
ripgrep
swiftlint
thefuck
tig
tldr
tmux
tmuxinator
skhd
tree
wget
windmilleng/tap/tilt
yabai
youtube-dl
yq
fish
)
"$(brew --prefix)/opt/fzf/install" --completion --key-bindings
# shellcheck disable=1091
source "$(brew --prefix nvm)/nvm.sh"
brew install "${apps[@]}"