1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

Moved git.io url to https

git.io now redirects to https. So the current function break. Changing it to https fixes the issue.
This commit is contained in:
Sharat M R 2016-04-16 06:52:58 +05:30
parent d310fac7f6
commit f28c0a81b7

View file

@ -71,7 +71,7 @@ exist_gh() { # [DIRECTORY]
#
git.io() {
emulate -L zsh
curl -i -s http://git.io -F "url=$1" | grep "Location" | cut -f 2 -d " "
curl -i -s https://git.io -F "url=$1" | grep "Location" | cut -f 2 -d " "
}
# End Functions #############################################################