From f28c0a81b7041e1c834dd551691ce03d10994192 Mon Sep 17 00:00:00 2001 From: Sharat M R Date: Sat, 16 Apr 2016 06:52:58 +0530 Subject: [PATCH] Moved git.io url to https git.io now redirects to https. So the current function break. Changing it to https fixes the issue. --- plugins/github/github.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh index ca19901f..0ab399c9 100644 --- a/plugins/github/github.plugin.zsh +++ b/plugins/github/github.plugin.zsh @@ -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 #############################################################