diff --git a/README.md b/README.md index f476d90..becc2f1 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,18 @@ ### Full setup ```zsh curl https://raw.githubusercontent.com/sup39/zsh-setup/master/setup.sh | sh - +source $HOME/.zshrc ``` Alternatively, use the shortened url: ```zsh -# try the following command +# Try the following command # until the first line of the content becomes `#!/bin/sh` curl -L pr8.work/0/sup39-zsh # and then execute the setup script curl -L pr8.work/0/sup39-zsh | sh - + +# Finally, source the zshrc file +source $HOME/.zshrc ``` ### zshrc only diff --git a/setup.sh b/setup.sh index 56f312d..c81a025 100644 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,6 @@ #!/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