Commit Graph

17 Commits

Author SHA1 Message Date
Sharat M R
f28c0a81b7 Moved git.io url to https
git.io now redirects to https. So the current function break. Changing it to https fixes the issue.
2016-04-16 06:52:58 +05:30
Andrew Janke
24492a2fdb Update github plugin to work with current hub versions
Removes old completion setup that breaks with current _git and _hub completions.
Ruby is no longer required by hub; removes that test.
Does not define new completions for hub; they are now defined by hub itself.
Change the functions to use hub to create the repos on GitHub.
Add error checking to the functions.
Removes apparently-unused _github completion definition.
2015-11-06 04:10:33 -05:00
James Magnarelli
7bb42fb49a Corrected syntax error in github plugin's empty_gh function 2014-05-28 11:19:16 +02:00
Samvel Khalatyan
b9841b0bae Add github url shortener 2014-03-10 17:18:50 -05:00
Tima Maslyuchenko
8e368c1222 added hub autocomplete instructions 2013-04-03 16:43:22 +03:00
Michael Nikitochkin
f29daef297 Fix repo for github. 2012-12-02 14:16:58 +02:00
Daniel Hahler
2c660c16ad Only alias git=hub if hub --version works.
`hub` is crashing for me on a old CentOS setup with
"undefined method `shelljoin'".

On first use of the `git` function it is now checked if
`hub --version` returns successfully.
2011-11-24 13:57:10 +01:00
Robby Russell
b8ade4815a Merge pull request #529 from dbb/master
Merge 'deb' and 'debian' plugins
2011-10-10 05:48:49 -07:00
Robby Russell
cc82ac1ed6 Merge pull request #273 from blueyed/hub-alias-only-with-ruby
Minor fix for the github plugin: check for `ruby`.
2011-10-10 05:27:33 -07:00
Daniel Bolton
8c48f10a04 Add functions for new GH repos. 2011-08-06 16:15:09 -04:00
Daniel Bolton
8ed6dd5fc4 Add functions for new GH repos. 2011-08-06 15:58:40 -04:00
Andrew Hodges
ace84c8b7e Cleanup
Add missing newlines at EOF. Remove redundant comment. Fix grammar in comment.
2011-05-28 13:06:03 -04:00
Pat Regan
886af72125 Remove fpath/compinit code from github and npm plugins 2011-04-20 01:30:52 -04:00
Daniel Hahler
911837c48f github plugin: check for ruby.
I've run into the issue where a stripped down container had no Ruby
installed, which caused `hub` to fail.

Therefore I've added an extra check to verify that `ruby` is in the
commands list before setting up this alias/function.
2011-04-13 00:33:17 +02:00
Theodore Robert Campbell Jr
f0922006ab changes recommended by blueyed 2011-04-12 10:24:53 +02:00
Theodore Robert Campbell Jr
9406ae7929 Whoops, this was supposed to be in the last commit! 2011-04-12 10:24:53 +02:00
Sven Lito
249fe1471c adding github plugin 2010-10-09 14:29:24 +01:00