update short url setup instruction

This commit is contained in:
sup39 2020-05-12 21:18:34 +09:00
parent 4a6f83f2c3
commit c41f3156f6

View file

@ -6,13 +6,12 @@ curl https://raw.githubusercontent.com/sup39/zsh-setup/master/setup.sh | sh -
```
Alternatively, use the shortened url:
```zsh
curl -L http://pr8.work/0/sup39-zsh | sh -
# 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 -
```
However, it may fails to redirect. You may print the content before execute it.
```
curl -L http://pr8.work/0/sup39-zsh
```
Check if the first line is `#/bin/sh`.
### zshrc only
```zsh