rc/setup.sh

14 lines
472 B
Bash
Raw Normal View History

2020-05-12 20:56:32 +09:00
#!/bin/sh
# .zshrc
2020-07-31 23:57:09 +09:00
[ -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/zprofile -o $HOME/.zshenv
2020-05-12 20:56:32 +09:00
# .vim/sup39
[ -d $HOME/.vim/sup39 ] || git clone https://github.com/sup39/vimrc $HOME/.vim/sup39
# .vimrc
[ -f $HOME/.vimrc ] || cat >$HOME/.vimrc <<EOF
2020-06-14 18:40:32 +09:00
" source $HOME/.vim/sup39/plug.vim
2020-05-12 20:56:32 +09:00
source $HOME/.vim/sup39/vimrc
EOF