1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-13 16:56:30 +00:00

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.
This commit is contained in:
Vladimir 2016-11-28 01:35:33 +03:00
parent 9e7c67ed6c
commit 37d2ef123c

View File

@ -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?