remove auto source in setup.sh
This commit is contained in:
parent
dcebe1e7c2
commit
19e8f73722
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
1
setup.sh
1
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
|
||||
|
|
Loading…
Reference in a new issue