f28c0a81b7041e1c834dd551691ce03d10994192

Author
Sharat M R <cosmosgenius@gmail.com>
Committer
Sharat M R <cosmosgenius@gmail.com>
Date

Message

Moved git.io url to https

git.io now redirects to https. So the current function break. Changing it to https fixes the issue.

Diff

 1diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh
 2index ca19901fd92df886c589e13f4cc2966feebec2c8..0ab399c979bfdabacd9c7fe56fe0c5f307cf582b 100644
 3--- a/plugins/github/github.plugin.zsh
 4+++ b/plugins/github/github.plugin.zsh
 5@@ -71,7 +71,7 @@ exist_gh() { # [DIRECTORY]
 6 #
 7 git.io() {
 8   emulate -L zsh
 9-  curl -i -s http://git.io -F "url=$1" | grep "Location" | cut -f 2 -d " "
10+  curl -i -s https://git.io -F "url=$1" | grep "Location" | cut -f 2 -d " "
11 }
12 
13 # End Functions #############################################################