Schnouki / git-annex-zsh-completion

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

For 'git annex add' complete only files not already added. #12

Open danielshahaf opened 8 years ago

danielshahaf commented 8 years ago

This completes unversioned files for git add. Ignored files are included iff --force has been passed.

The code is based on _git-add in the zsh distribution.

danielshahaf commented 8 years ago

Pushed another commit onto the branch.

The behaviour now is:

% git annex status
? qux
M foo
% git annex add <TAB>
> untracked file
qux
> modified file
foo