-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall
executable file
·43 lines (31 loc) · 1.36 KB
/
install
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
#!/bin/bash
DISTRO="${1:-no}"
. ./installers/install-arch.sh
if [ ! -d "$HOME/.tmux/plugins" ]; then
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux source ~/.tmux.conf
fi
if [ ! -f "$HOME/.vim/autoload/plug.vim" ]; then
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
fi
if [ ! -f "$HOME/.local/share/nvim/site/autoload/plug.vim" ]; then
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'
fi
if [ ! -d "$HOME/.oh-my-zsh" ]; then
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi
if [ ! -d "$HOME/.vim/colors" ]; then
mkdir -p $HOME/.vim/colors
fi
if [ ! -f "$HOME/.vim/colors/zenbones.vim" ]; then
curl -fLo $HOME/.vim/colors/zenbones.vim https://raw.githubusercontent.com/mcchrish/zenbones.nvim/main/colors/zenbones.vim
fi
if [ ! -d "$HOME/.config/alacritty/themes" ]; then
mkdir -p $HOME/.config/alacritty/themes
fi
if [ ! -d "$HOME/.config/alacritty/themes/zenbones_dark.toml" ]; then
curl -fLo $HOME/.config/alacritty/themes/zenbones_dark.toml https://raw.githubusercontent.com/mcchrish/zenbones.nvim/main/extras/alacritty/zenbones_dark.toml
fi
mkdir -p ~/.vim/undo