Ok, I have zsh Git auto complete already working. What I'm trying to do is be able to autocomplete only the file names of any files listed in the git status
.
For example I run git status
and the following files are visible:
/a/b/c/d/foo.java
/e/f/g/h/bar.java
What I'd like to be able to do is run git diff
and then be able to tab complete either foo.java
or bar.java
.