Skip to content

Commit 37d2ef1

Browse files
committed
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 <html><body>You are being <a href="https://git.io/vfhol">redirected</a>.</body></html> ``` When I set curl option to -L (--location), everything works properly.
1 parent 9e7c67e commit 37d2ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ git add -p
336336

337337
## Get git bash completion
338338
```sh
339-
curl http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc
339+
curl -L http://git.io/vfhol > ~/.git-completion.bash && echo '[ -f ~/.git-completion.bash ] && . ~/.git-completion.bash' >> ~/.bashrc
340340
```
341341

342342
## What changed since two weeks?

0 commit comments

Comments
 (0)