From 19e8f737220f68a4c7bea2d57b10f24523afb7a3 Mon Sep 17 00:00:00 2001 From: sup39 Date: Tue, 12 May 2020 21:31:37 +0900 Subject: [PATCH] remove auto source in setup.sh --- README.md | 6 +++++- setup.sh | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) 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