tips icon indicating copy to clipboard operation
tips copied to clipboard

Bash completion: change short redirected url for full url

Open xverges opened this issue 7 years ago • 3 comments

http://git.io/vfhol returns a redirect. That could be solved with curl -L. However, for something that goes into the bash profile, I think that it is a good thing to download it with a descriptive https url

xverges avatar Nov 23 '17 09:11 xverges

git.io/git-completion would have been better, can't change it now, AFAIK.

hemanth avatar Nov 23 '17 09:11 hemanth

If you are happy with the URL, you'll need to add the -L param to curl, to handle the shortened redirect.

xverges avatar Nov 24 '17 16:11 xverges

Okies

hemanth avatar Nov 24 '17 16:11 hemanth