I am working on a git project. Since I have a lot of folder depth, I would like to improve my autocompletion to work with file names, not just 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 the file using
git add app/src/main/java/fr/pasteque/client/BaseFlavor.java
But I would like to write: git add BaseFlavor.java
git add **/BaseFlavor.java works!
But the completion, for example git add **/Base<tab> , is not ...
Any ideas on how it might work with completion?
Thanks in advance!
source share