-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.sh
More file actions
executable file
·33 lines (27 loc) · 945 Bytes
/
bootstrap.sh
File metadata and controls
executable file
·33 lines (27 loc) · 945 Bytes
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
#!/bin/zsh
git submodule update --init --recursive
# install prezto
ln -fsn $PWD/prezto $HOME/.zprezto
setopt EXTENDED_GLOB
for rcfile in $PWD/prezto/runcoms/^README.md(.N); do
ln -fsn "$rcfile" $HOME/.${rcfile:t}
done
ln -fsn $PWD/prezto-override/zpreztorc $HOME/.zpreztorc
ln -fsn $PWD/prezto-override/zshrc $HOME/.zshrc
if [ ! -d "$HOME/.config" ]; then
mkdir ~/.config
fi
ln -fsn $PWD/git/.gitconfig ~/.gitconfig
ln -fsn $PWD/git/.gitignore_global ~/.gitignore_global
ln -fsn $PWD/.curlrc ~/.curlrc
ln -fsn $PWD/dircolors-solarized/dircolors.ansi-universal ~/.dircolors
ln -fsn $PWD/.Brewfile ~/.Brewfile
ln -fsn $PWD/.config/yabai ~/.config/yabai
ln -fsn $PWD/.config/borders ~/.config/borders
ln -fsn $PWD/.config/ghostty ~/.config/ghostty
mkdir -p ~/.config/tmux
ln -fsn $PWD/tmux.conf ~/.config/tmux/tmux.conf
# set up for neovim
mkdir -p ~/.config/nvim
ln -fsn $PWD/.vimrc ~/.config/nvim/init.vim
ln -fsn $PWD/.vimrc ~/.vimrc