Open coderforlife opened 3 years ago
@coderforlife Is it possible to test if your git completions work the same way?
No, git
functions correctly. If I do the following:
mkdir test
cd test
git init
touch "hello world.txt"
git add he<tab>
it completes to hello\ world.txt
as expected. Also works right after the space and anywhere after the space.
Thanks for that test. 👍
This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
When using bash (and possibly other shells), trying to complete a file name with a space leads to issues. For example:
doesn't complete anything, double lists two entries
hello
andworld.txt
, if typing up tohello\
causes the word to be replaced withhello\\\
, and similarlyhello\ w
completes tohello\\\ w
. If you are past the argument with a space then things work, for exampleyadm add hello\ world.txt fo<tab>
will complete toyadm add hello\ world.txt foo.txt
.Interestingly, if the file that contains a space is already added to
yadm
, then it completes just fine regardless of where in the file you are.