2020-05-12 20:56:32 +09:00
|
|
|
# zsh-setup for sup39
|
|
|
|
## Usage
|
|
|
|
### Full setup
|
|
|
|
```zsh
|
|
|
|
curl https://raw.githubusercontent.com/sup39/zsh-setup/master/setup.sh | sh -
|
2020-05-12 21:31:37 +09:00
|
|
|
source $HOME/.zshrc
|
2020-05-12 20:56:32 +09:00
|
|
|
```
|
|
|
|
Alternatively, use the shortened url:
|
|
|
|
```zsh
|
2020-05-12 21:31:37 +09:00
|
|
|
# Try the following command
|
2020-05-12 21:18:34 +09:00
|
|
|
# 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 -
|
2020-05-12 21:31:37 +09:00
|
|
|
|
|
|
|
# Finally, source the zshrc file
|
|
|
|
source $HOME/.zshrc
|
2020-05-12 20:56:32 +09:00
|
|
|
```
|
|
|
|
|
|
|
|
### zshrc only
|
|
|
|
```zsh
|
|
|
|
curl https://raw.githubusercontent.com/sup39/zsh-setup/master/zshrc >> $HOME/.zshrc
|
2020-05-12 21:23:21 +09:00
|
|
|
source $HOME/.zshrc
|
2020-05-12 20:56:32 +09:00
|
|
|
```
|
|
|
|
|
|
|
|
## Content
|
|
|
|
### zshrc
|
|
|
|
- `~/.zshrc`
|
|
|
|
|
|
|
|
:warning: *OVERWRITE* if exists
|
|
|
|
|
|
|
|
### [vimrc](https://github.com/sup39/vimrc)
|
|
|
|
- `~/.vim/sup39`
|
|
|
|
- `~/.vimrc`
|
|
|
|
|
|
|
|
:bulb: No overwriting
|