-
Notifications
You must be signed in to change notification settings - Fork 1
/
bootstrap.sh
39 lines (26 loc) · 1.34 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
#!/bin/bash
# Install tmux theme
mkdir -p ~/.tmux/themes
git clone https://github.com/arcticicestudio/nord-tmux ~/.tmux/themes/nord-tmux
# Download the Nord theme for iterm to the Downloads folder so that it can be applied
curl --output-dir ~/Downloads -O https://github.com/nordtheme/iterm2/blob/develop/src/xml/Nord.itermcolors
open ~/Downloads/Nord.itermcolors
# Download 24-bit test script to the home folder
curl --output-dir ~/ -O https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh
# Some nvim plugins require yarn to be installed
npm install -g yarn
# Install vim Plugged
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
# Install OMZ
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
mkdir -p ~/.config/nvim
cp -n ./nvim/* ~/.config/nvim/
mkdir -p ~/.config/bat
cp -n ./bat/config ~/.config/bat/config
mkdir -p ~/.config/tmux/
cp -n ./tmux/tmux.conf ~/.config/tmux/tmux.conf
mkdir -p ~/.oh-my-zsh/themes
cp -n ./oh-my-zsh/themes/agnoster-moh.zsh-theme ~/.oh-my-zsh/themes/agnoster-moh.zsh-theme
# Zsh completion
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions