-
Notifications
You must be signed in to change notification settings - Fork 1
/
brew.sh
executable file
·50 lines (46 loc) · 888 Bytes
/
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
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
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
brew upgrade
apps=(
autojump
cheatsheet
cmake
coreutils
diff-so-fancy
exa
fzf
git
# https://github.com/tj/git-extras/blob/master/Commands.md
git-extras
grep
gpg2
geckodriver
hub
imagemagick
jq
lazydocker
mysql
neofetch
neovim
postgis
postgresql
readline
ssh-copy-id
the_silver_searcher
thefuck
tmux
tree
unar
wifi-password
wget
yarn
xz
zsh-autosuggestions
)
brew install "${apps[@]}"
export DOTFILES_BREW_PREFIX_COREUTILS=$(brew --prefix coreutils)
set-config "DOTFILES_BREW_PREFIX_COREUTILS" "$DOTFILES_BREW_PREFIX_COREUTILS" "$DOTFILES_CACHE"