From c41f3156f642889b945b7b9c402fe78abbf5ce41 Mon Sep 17 00:00:00 2001 From: sup39 Date: Tue, 12 May 2020 21:18:34 +0900 Subject: [PATCH] update short url setup instruction --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b5588e3..c0e3ded 100644 --- a/README.md +++ b/README.md @@ -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