Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
656ddabc
Commit
656ddabc
authored
Apr 18, 2016
by
Marc Cornellà
Browse files
Merge pull request #5009 from cosmosgenius/github-gitio-bug
Moved git.io url to https
parents
d310fac7
f28c0a81
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/github/github.plugin.zsh
View file @
656ddabc
...
...
@@ -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
http
s
://git.io
-F
"url=
$1
"
|
grep
"Location"
|
cut
-f
2
-d
" "
}
# End Functions #############################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment