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