[Bash-completion-devel] Completion words containing colons
Guillaume.Rousse at inria.fr
Wed Dec 9 22:14:57 UTC 2009
Todd Zullinger a écrit :
> Freddy Vulto wrote:
>> There's a problem when completion words containing colons (:). For example,
>> when you do this in an empty directory:
>> $ touch abc:def
>> $ rm abc:<TAB> # Becomes: abc:abc\:def (see also *1)
>> The solution for bash-4 is to remove the colon from COMP_WORDBREAKS (see also
> Doesn't doing so break things like scp completion? The gvfs package
> on Fedora was doing as you suggest for a while and it screwed up
> numerous other completions (scp and git are two I know).
gvfs completion was patched on mandriva for this specific purpose, as it
was silently changing default behaviour in a inappropriate place.
BOFH excuse #228:
That function is not currently supported, but Bill Gates assures us it
will be featured in the next upgrade.
More information about the Bash-completion-devel