add zshenv(export EDITOR)
This commit is contained in:
parent
a16171cba8
commit
aa01c2a539
3 changed files with 9 additions and 9 deletions
12
README.md
12
README.md
|
@ -7,11 +7,8 @@ source $HOME/.zshrc
|
|||
```
|
||||
Alternatively, use the shortened url:
|
||||
```zsh
|
||||
# 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 -
|
||||
# Download setup file and execute it
|
||||
curl -L 301.sup39.ml/zsh-setup | sh -
|
||||
|
||||
# Finally, source the zshrc file
|
||||
source $HOME/.zshrc
|
||||
|
@ -24,13 +21,12 @@ source $HOME/.zshrc
|
|||
```
|
||||
|
||||
## Content
|
||||
|
||||
### zshrc
|
||||
- `~/.zshrc`
|
||||
|
||||
:warning: *OVERWRITE* if exists
|
||||
|
||||
### [vimrc](https://github.com/sup39/vimrc)
|
||||
- `~/.vim/sup39`
|
||||
- `~/.vimrc`
|
||||
|
||||
:bulb: No overwriting
|
||||
:bulb: No overwriting if exists
|
||||
|
|
5
setup.sh
5
setup.sh
|
@ -1,6 +1,9 @@
|
|||
#!/bin/sh
|
||||
# .zshrc
|
||||
curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zshrc -o $HOME/.zshrc
|
||||
[ -f $HOME/.zshrc ] || curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zshrc -o $HOME/.zshrc
|
||||
# .zshenv
|
||||
[ -f $HOME/.zshenv ] || curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zprofile -o $HOME/.zshenv
|
||||
|
||||
# .vim/sup39
|
||||
[ -d $HOME/.vim/sup39 ] || git clone https://github.com/sup39/vimrc $HOME/.vim/sup39
|
||||
# .vimrc
|
||||
|
|
1
zshenv
Normal file
1
zshenv
Normal file
|
@ -0,0 +1 @@
|
|||
export EDITOR=vim
|
Loading…
Reference in a new issue