Browse Source

Merge pull request #5009 from cosmosgenius/github-gitio-bug

Moved git.io url to https
Marc Cornellà 9 years ago
parent
commit
656ddabcfa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/github/github.plugin.zsh

+ 1 - 1
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 #############################################################