Open jamietanna opened 8 years ago
Functionality should be similar to that of git add
:
$ git add <TAB>
completing modified file
bootstrap.sh bspwm dunst sxhkd terminal vim
completing untracked file
bspwm diff
Which can be found in /usr/share/zsh/functions/Completion/Unix/_git
It's often really useful, for instance when doing a rebase, to be able to tab complete through each file that has modifications.
For instance:
This can be extracted from the outputs of
git diff --name-only
orgit status --porcelain
.