rc/setup.sh
2020-08-01 00:03:54 +09:00

13 lines
470 B
Bash

#!/bin/sh
# .zshrc
[ -f $HOME/.zshrc ] || curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zshrc -o $HOME/.zshrc
# .zshenv
[ -f $HOME/.zshenv ] || curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zshenv -o $HOME/.zshenv
# .vim/sup39
[ -d $HOME/.vim/sup39 ] || git clone https://github.com/sup39/vimrc $HOME/.vim/sup39
# .vimrc
[ -f $HOME/.vimrc ] || cat >$HOME/.vimrc <<EOF
" source $HOME/.vim/sup39/plug.vim
source $HOME/.vim/sup39/vimrc
EOF