-
Notifications
You must be signed in to change notification settings - Fork 1
/
bootstrap.sh
executable file
·102 lines (78 loc) · 2.51 KB
/
bootstrap.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
96
97
98
99
100
101
102
#!/bin/sh
##########################################
## macos setup ##
##########################################
# Setup fonts
brew tap homebrew/cask-fonts
brew install font-hack-nerd-font
# # Setup alacritty
# brew install alacritty
# ln -sf "$PWD/alacritty/alacritty.toml" ~/.config/alacritty.toml
#
# # Fix alacritty thin strokes on macos
# defaults write org.alacritty AppleFontSmoothing -int 0
# # Setup alacritty themes
# mkdir -p ~/.config/alacritty/themes
# ln -sf $PWD/alacritty/themes/light.toml ~/.config/alacritty/themes/light.toml
# ln -sf $PWD/alacritty/themes/dark.toml ~/.config/alacritty/themes/dark.toml
# Setup kitty
brew install kitty
ln -sf $PWD/kitty/kitty.conf ~/.config/kitty/kitty.conf
ln -sf $PWD/kitty/light-theme.conf ~/.config/kitty/light-theme.conf
ln -sf $PWD/kitty/dark-theme.conf ~/.config/kitty/dark-theme.conf
# Tmux config
brew install tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
ln -sn "$PWD/tmux/.tmux.conf" ~/.tmux.conf
# Shell setup
brew install fzf
chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
ln -sf "$PWD/zsh/.zshrc" ~/.zshrc
ln -sf "$PWD/zsh/sjdonado.zsh-theme" ~/.oh-my-zsh/themes/sjdonado.zsh-theme
# Nvim config
brew install nvim lua
ln -s "$PWD/nvim" ~/.config/nvim
# Essentials
brew install coreutils \
tree bat fd gawk ripgrep \
blueutil mackup \
git-delta git-lfs
brew install --cask \
firefox hoppscotch \
spotify libreoffice \
raycast ukelele notunes browserosaurus \
monitorcontrol
# Tiling Window manager
# brew install --cask amethyst # SIP unblocked not required
# Package managers
brew install fnm rustup luarocks pypenv crystal
rustup-init
# Docker
brew install colima docker docker-compose docker-buildx
colima start
# Nice to have
brew install --cask \
tableplus \
qbittorrent reverso wealthfolio
# Tailscale setup
brew install tailscale mosh
sudo tailscaled install-system-daemon
tailscale up
brew install tor mitmproxy nmap redis \
cloudflare/cloudflare/cloudflared \
marp-cli mailpit
# Toolkit
brew tap shopify/shopify
brew install shopify-cli firebase-cli scc serverless
brew tap oven-sh/bun
brew install bun
brew tap amberframework/micrate
brew install micrate
# Keyboard layouts setup
cp -Rp $PWD/macos/ukelele/* "$HOME/Library/Keyboard Layouts/"
# Dotfiles symlinks
ln -sf "$PWD/bat/config" ~/.config/bat/config
ln -sf "$PWD/git/.gitconfig" ~/.gitconfig
ln -s "$PWD/.ssh/config" ~/.ssh/config
ln -s "$PWD/.mackup.cfg" ~/.mackup.cfg