devconf/tools/install-light.sh

32 lines
970 B
Bash
Raw Normal View History

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
rm -rf ~/.config/autostart/*
2021-11-08 14:05:43 +00:00
cp -rf ./.config ~
cp -rf ./.zcustom ~
cp -rf ./.doom.d ~
2021-02-01 09:33:37 +00:00
2021-11-08 14:05:43 +00:00
cp -f ./.zshrc ~
cp -f ./.zshenv ~
cp -f ./.profile ~
cp -f ./.xsession ~
cp -f ./.ideavimrc ~
cp -f ./.vimrc ~
cp -f ./.gitconfig ~
2021-02-01 09:44:22 +00:00
2021-02-15 00:31:45 +00:00
if [ -n "$(command -v vim)" ]; then
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
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."