-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrew_bootstrap.sh
More file actions
executable file
·87 lines (76 loc) · 1.6 KB
/
brew_bootstrap.sh
File metadata and controls
executable file
·87 lines (76 loc) · 1.6 KB
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
echo "Starting brew bootstrapping"
# Check for Homebrew, install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Update homebrew recipes
echo "brew updating..."
brew update
# Install GNU core utilities (those that come with OS X are outdated)
echo "brew core utlis installing..."
brew tap homebrew/dupes
brew install coreutils
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils
# Install Bash 4
brew install bash
# Install universal-ctags
brew install --HEAD universal-ctags/universal-ctags/universal-ctags
# Install lazygit
brew tap jesseduffield/lazygit
brew install jesseduffield/lazygit/lazygit
# Needed packages
PACKAGES=(
git
ag
ripgrep
python
python3
stow
tree
tmux
tmuxinator
tig
vim
neovim
peco
vifm
bat
fzf
)
echo "Installing needed packages..."
brew install ${PACKAGES[@]}
#Python3 interface with pip:
pip3 install neovim
echo "Cleaning up..."
brew cleanup
# Install casks
CASKS=(
iterm2
alacritty
kitty
rectangle
the-unarchiver
appcleaner
mark-text
sublime-text
visual-studio-code
notion
)
echo "Installing cask apps..."
brew install --cask ${CASKS[@]}
# Install fonts
# brew tap caskroom/fonts
brew tap homebrew/cask-fonts
FONTS=(
font-roboto
font-hack
font-iosevka
font-hurmit-nerd-font
)
# extra fonts not found by brew
# https://pcaro.es/p/hermit
echo "Installing fonts..."
brew install --cask ${FONTS[@]}
echo "Done"