[Bash-completion-devel] Colon completion woes

Ville Skyttä ville.skytta at iki.fi
Mon May 10 21:54:17 UTC 2010


On Monday 10 May 2010, Freddy Vulto wrote:
> On 100510 10:16, Guillaume Rousse wrote:
> > Bash is treating ':' as a special character, starting a new completion
> > each time. See item E13 in http://tiswww.case.edu/php/chet/bash/FAQ
> 
> Yes, and we worked around the colon (:) issue with _known_hosts_real, by
> calling __ltrim_colon_completions at the end.  You can fix the `wol'
> behaviour by calling `__ltrim_colon_completions' at the end of
> `_mac_addresses'.

Yep, that did it, thanks.

> Maybe we should start thinking about
> adding a begin and end hook to every completion for things like this;
> put it at the end of the roadmap?

No objections here.



More information about the Bash-completion-devel mailing list