fix the instruction of setup with short url

This commit is contained in:
sup39 2020-05-12 21:12:40 +09:00
parent 63b696c0bd
commit 4a6f83f2c3

View file

@ -6,8 +6,13 @@ curl https://raw.githubusercontent.com/sup39/zsh-setup/master/setup.sh | sh -
``` ```
Alternatively, use the shortened url: Alternatively, use the shortened url:
```zsh ```zsh
curl http://pr8.work/0/sup39-zsh | sh - curl -L http://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 ### zshrc only
```zsh ```zsh