I am working on a git project. Since I have a lot of folder deepness, I would like to improve my auto-completion to work with filenames and not only paths.
Here is an example:
$git status 1 ↵ ✹master
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: app/src/main/java/fr/pasteque/client/BaseFlavor.java
modified: app/src/main/java/fr/pasteque/client/widgets/RestaurantTicketsAdapter.java
no changes added to commit (use "git add" and/or "git commit -a")
I obviously have to add a file with:
git add app/src/main/java/fr/pasteque/client/BaseFlavor.java
But I would love to be able to write: git add BaseFlavor.java
git add **/BaseFlavor.java
works!
But the completion, like git add **/Base<tab>
, doesn't..
Any ideas how it can works with completion ?
Thanks in advance!