[Bug 883268] Re: bash ls tab completion broken for files/dirs with spaces in name
Peter Cordes
peter at cordes.ca
Sun Nov 30 02:20:45 UTC 2014
It's working fine for me. Do you have some old cruft in
/etc/bash_completion.d that's causing trouble?
And btw, yes once the completion code for ls option processing figures
out that it's completing a filename, it passes it to the same code
that's used generically for filenames. So if that's having a problem,
it will affect everything.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/883268
Title:
bash ls tab completion broken for files/dirs with spaces in name
Status in bash-completion package in Ubuntu:
Confirmed
Bug description:
Running updated ubuntu 11.10, tab completion fails to escape spaces in
filenames for some commands.
To repeat:
mkdir "abc def"
touch "abc def"/xyz
ls ab<TAB><ENTER>
Expected:
xyz
Observed:
ls: cannot access abc: No such file or directory
ls: cannot access def: No such file or directory
Also affects tab completion for 'touch', but not for 'echo' or when
looking for commands.
This worked fine in ubuntu 11.04.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/883268/+subscriptions
More information about the foundations-bugs
mailing list