forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.sh
More file actions
executable file
·27 lines (20 loc) · 777 Bytes
/
Copy pathbootstrap.sh
File metadata and controls
executable file
·27 lines (20 loc) · 777 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
#!/bin/bash
cd "$(dirname "$0")"
git pull
# Switch Shell to ZSH
chsh -s $(which zsh)
# Install Oh-My-ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Install PowerLevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k"
# Execute Brewfile and ConfigureMacOS only on MacOS
if [[ "$(uname)" == "Darwin" ]]; then
./platform/macos/brewfile
./platforms/macos/configure
./platforms/macos/setup_nvim
fi
# Copy Configs
rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" --exclude "README.md" --exclude "iterm/" -av . ~
./.brew
git clone https://github.com/LazyVim/starter ~/.config/nvim
rm -rf ~/.config/nvim/.git