[Bash-completion-devel] Completion words containing colons
Todd Zullinger
tmz at pobox.com
Wed Dec 9 22:00:03 UTC 2009
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
> *2):
>
> COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
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).
https://bugzilla.redhat.com/444466
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dreams are like rainbows. Only idiots chase them.
-- Demotivators (www.despair.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20091209/7682130f/attachment.pgp>
More information about the Bash-completion-devel
mailing list