summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSharat M R <cosmosgenius@gmail.com>2016-04-16 06:52:58 +0530
committerSharat M R <cosmosgenius@gmail.com>2016-04-16 06:52:58 +0530
commitf28c0a81b7041e1c834dd551691ce03d10994192 (patch)
tree2ac811fb1aae81d46fda17405778b92f350d803c /plugins
parentd310fac7f65d31f7494532201e02ebf67c9d9555 (diff)
downloadzsh-f28c0a81b7041e1c834dd551691ce03d10994192.tar.gz
zsh-f28c0a81b7041e1c834dd551691ce03d10994192.tar.bz2
zsh-f28c0a81b7041e1c834dd551691ce03d10994192.zip
Moved git.io url to https
git.io now redirects to https. So the current function break. Changing it to https fixes the issue.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/github/github.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh
index ca19901fd..0ab399c97 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 #############################################################