Merge pull request #5009 from cosmosgenius/github-gitio-bug
Moved git.io url to https
This commit is contained in:
commit
656ddabcfa
@ -71,7 +71,7 @@ exist_gh() { # [DIRECTORY]
|
|||||||
#
|
#
|
||||||
git.io() {
|
git.io() {
|
||||||
emulate -L zsh
|
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 #############################################################
|
# End Functions #############################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user