In my GNU bash, version 4.3.11
I am using git and sometimes in comments I want to mention the files I changed. When doing so, I try to use the tab completion, so that I just have to type the first characters of the file name and then get it auto completed with the tab:
So I say:
git add README.md
And then
git commit -m "Modified RE
# ^
# here I press tab and nothing happens
However, it doesn't get expanded because it is within quotes. Instead, this does work:
git commit -m "Modified" RE
# ^
# here I press tab so that I get README.md
So is what I end up doing: closing the quotes, completing with Tab, removing the previous quote and appending it to the end of the comment I wrote. This is a bit tiring, so I wonder:
Is there any way to get the tab completion working within quotes?