remove auto source in setup.sh

This commit is contained in:
sup39 2020-05-12 21:31:37 +09:00
parent dcebe1e7c2
commit 19e8f73722
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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