Skip to content

Instantly share code, notes, and snippets.

@goodell
Created January 3, 2013 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goodell/4446648 to your computer and use it in GitHub Desktop.
Save goodell/4446648 to your computer and use it in GitHub Desktop.
--- ./Completion/Unix/Command/_git 2012-03-06 14:04:43.000000000 -0600
+++ /usr/local/share/zsh/functions/_git 2013-01-03 14:05:17.000000000 -0600
@@ -4706,7 +4706,10 @@
local -a third_party_commands
local command
for command in $_git_third_party_commands; do
- (( $+commands[git-${command%%:*}] )) && third_party_commands+=$command
+ # XXX DJG disabling this filter, since it interferes with my "hub"
+ # subcommand completions. See https://github.com/defunkt/hub/issues/231
+ #(( $+commands[git-${command%%:*}] )) && third_party_commands+=$command
+ third_party_commands+=$command
done
local -a aliases unique_aliases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment