auto source zshrc in setup.sh

This commit is contained in:
sup39 2020-05-12 21:23:21 +09:00
parent c41f3156f6
commit dcebe1e7c2
2 changed files with 2 additions and 0 deletions

View file

@ -16,6 +16,7 @@ curl -L pr8.work/0/sup39-zsh | sh -
### zshrc only
```zsh
curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zshrc >> $HOME/.zshrc
source $HOME/.zshrc
```
## Content

View file

@ -1,6 +1,7 @@
#!/bin/sh
# .zshrc
curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zshrc -o $HOME/.zshrc
[ $SHELL = "/bin/zsh" ] && . $HOME/.zshrc # auto source zshrc
# .vim/sup39
[ -d $HOME/.vim/sup39 ] || git clone https://github.com/sup39/vimrc $HOME/.vim/sup39
# .vimrc