Schnouki / git-annex-zsh-completion

zsh completion for git-annex
15 stars 6 forks source link

Completion not working if 'git annex' is used #1

Open ypid opened 10 years ago

ypid commented 10 years ago

Hi

Thanks to all who where involved in creating this zsh completion …

I noticed that the completion is not working if I use 'git annex'. When using 'git-annex' it works. Fortunately, I don‘t use either of those commands to execute git-annex :smile: (aliased to a, see my dotfiles). Not sure how to solve this …

Schnouki commented 10 years ago

Hmmm, that's weird, I'm only using it as git annex, not git-annex, and it works for me... Do you have working completion for other git commands such as git add, git log, etc.?

(My ZSH config is also in my dotfiles repo if you're interested)

Schnouki commented 10 years ago

Woops :) Didn't think merging this commit will close this. Reopening.

aecay commented 10 years ago

I have the same issue experienced by the poster above. I have the latest version of the zsh completion script from the git project installed as _git in the same directory as _git-annex. I can complete git ann<TAB> -> git annex, but further completions only offer file names. Completing git-annex<TAB> works as intended.

danielshahaf commented 8 years ago

@aecay I can't speak as to the completion script shipped with git, but perhaps if you used the one shipped with zsh things would work. (Or is there a reason you prefer git's git completion to zsh's git completion?)

danielshahaf commented 8 years ago

(Oops, I didn't notice that the date was two years ago; I thought it was the day before the day before yesterday.)