From 37d2ef123c91bb981ddb861624a2238b354c3677 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Mon, 28 Nov 2016 01:35:33 +0300 Subject: [PATCH] Fixing git bash completion script URL. http://git.io/vfhol This URL leads to the needful script via redirect. When I do `$ curl http://git.io/vfhol` (on OSX, at least), it fetches redirect info: ```sh You are being redirected. ``` When I set curl option to -L (--location), everything works properly. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8281097..6456e72 100644 --- a/README.md +++ b/README.md @@ -336,7 +336,7 @@ git add -p ## Get git bash completion ```sh -curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc +curl -L http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc ``` ## What changed since two weeks?