[Bash-completion-devel] Namespace prefix?

Ville Skyttä ville.skytta at iki.fi
Sun Apr 25 10:18:26 UTC 2010


We have an item on the roadmap for introducing a "namespace prefix" for all 
bash-completion functions.  I suggest we decide whether and how to do it soon 
as I'd like to get closer to a new release; there have been lots of 
improvements since 1.1.

So, what are the candidates?  I think at least:

1) Do not introduce a new prefix, leave things as is (keep using the 
2) comp_* (with or without leading underscore)
3) bc_* (with or without leading underscore)
4) bashcomp_* (with or without leading underscore)
5) Others?

Does bash officially "reserve" any variable/function prefix to itself?  At 
least BASH_* and COMP_* are used in it.

More information about the Bash-completion-devel mailing list