From 4a6f83f2c3c7ede38d1e0ca0e575230c43e445d7 Mon Sep 17 00:00:00 2001 From: sup39 Date: Tue, 12 May 2020 21:12:40 +0900 Subject: [PATCH] fix the instruction of setup with short url --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 136c0a2..b5588e3 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,13 @@ curl https://raw.githubusercontent.com/sup39/zsh-setup/master/setup.sh | sh - ``` Alternatively, use the shortened url: ```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 ```zsh