-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·67 lines (57 loc) · 1.06 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
#!/bin/bash
set -x
echo '📦 Installing brew'
/bin/bash -c "$(curl -fsSL https://github.com/Homebrew/install/master/install.sh)"
echo '🚀 Install packages'
packages=(
bat
git
neovim
stow
tmux
ripgrep
golang
zulu
gradle
watch
raycast
rectangle
wget
procs
fzf
fish
koekeishiya/formulae/yabai
koekeishiya/formulae/skhd
starship
zsh-autosuggestions
alacritty
)
for package in "${packages[@]}"; do
echo "📦 Installing $package"
brew install "$package"
done
echo '🚀 Stow dirs'
stow_dirs=(
fish
tmux
nvim
bat
yabai
skhd
)
for stow_dir in "${stow_dirs[@]}"; do
stow "$stow_dir"
done
echo 'Install font'
brew tap homebrew/cask
brew tap homebrew/cask-fonts
brew install --cask font-comic-shanns-mono-nerd-font
echo 'Add fish as a login shell'
command -v fish | sudo tee -a /etc/shells
echo 'Use fish as default shell'
sudo chsh -s "$(which fish)" "$USER"
echo 'Install fisher 🐟'
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
echo 'Start yabai & skhd'
yabai --start-service
skhd --start-service