diff --git a/README.md b/README.md index c0e3ded..f476d90 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/setup.sh b/setup.sh index c81a025..56f312d 100644 --- a/setup.sh +++ b/setup.sh @@ -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