Commit Graph
4 Commits
Author SHA1 Message Date
Daniel Hahler 70e51186ec Only setopt correct, not "correct_all".
Using the correct_all option is too distracting, and needs a lot of
`nocorrect` aliases to work around this.

Using only "correct" to correct the command itself is more friendly.
2011-12-16 14:01:59 +01: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
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
Daniel HahlerandRobby Russell 91e4f3d667 Fix gdv: make it a function, and use view.
I've changed it to use `view` instead of `vim -R` to make it hopefully
more editor-agnostic.
2011-04-12 10:11:53 +02:00