6

Please see this line in the git.plugin.zsh file:

compdef _git gdv=git-diff

In the zsh user compdef tutorial, the compdef for referencing an existing command is explained like this:

compdef cmd1=cmd2

The obvious question: why is _git needed?

Timo
  • 2,922
  • 3
  • 29
  • 28

0 Answers0