-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbootstrap.sh
executable file
·51 lines (38 loc) · 1.49 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
#!/bin/sh
##########################################
## macos setup ##
##########################################
# Install dependencies from Brewfile
brew bundle install
# Setup alacritty
ln -sf "$PWD/alacritty/alacritty.toml" ~/.config/alacritty.toml
git update-index --assume-unchanged $PWD/alacritty/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
# Tmux config
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
ln -sn "$PWD/tmux/.tmux.conf" ~/.tmux.conf
# Shell theme setup
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
# Package managers
rustup-init
# Docker
# colima start
ln -sf "$PWD/docker/colima.yaml" ~/.colima/default/colima.yaml
ln -sf "$PWD/docker/config.json" ~/.docker/config.json
# 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
# Nvim config
ln -s "$PWD/nvim" ~/.config/nvim