2021-02-01 09:33:37 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
git submodule update --init --recursive
|
2021-01-16 10:28:48 +00:00
|
|
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
|
|
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
|
2020-07-10 11:20:06 +00:00
|
|
|
|
2021-02-17 09:43:26 +00:00
|
|
|
rm -rf ~/.config/autostart/*
|
2021-08-08 16:09:47 +00:00
|
|
|
cp ./.config ~ -rf
|
|
|
|
cp ./.zcustom ~ -rf
|
|
|
|
cp ./.doom.d ~ -rf
|
2021-02-01 09:33:37 +00:00
|
|
|
|
2021-08-08 16:09:47 +00:00
|
|
|
cp ./.zshrc ~ -f
|
2021-09-07 10:33:21 +00:00
|
|
|
cp ./.zprofile ~ -f
|
2021-08-08 16:09:47 +00:00
|
|
|
cp ./.profile ~ -f
|
|
|
|
cp ./.xsession ~ -f
|
|
|
|
cp ./.ideavimrc ~ -f
|
|
|
|
cp ./.vimrc ~ -f
|
|
|
|
cp ./.gitconfig ~ -f
|
2021-02-01 09:44:22 +00:00
|
|
|
|
2021-02-15 00:31:45 +00:00
|
|
|
if [ -n "$(command -v vim)" ]; then
|
2021-03-21 16:18:51 +00:00
|
|
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
|
|
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
2021-02-15 00:31:45 +00:00
|
|
|
vim +PlugInstall +qall
|
|
|
|
fi
|
|
|
|
|
2021-02-15 00:19:18 +00:00
|
|
|
if [ -n "$(command -v nvim)" ]; then
|
2021-03-21 16:18:51 +00:00
|
|
|
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'
|
2021-02-15 00:19:18 +00:00
|
|
|
nvim +PlugInstall +qall
|
|
|
|
fi
|
|
|
|
|
2021-02-01 09:44:22 +00:00
|
|
|
echo "Done installing configs."
|