[Bash-completion-devel] Towards dynamic completion loading

Ville Skyttä ville.skytta at iki.fi
Sun Oct 23 07:57:30 UTC 2011


On 10/23/2011 02:08 AM, Igor Murzov wrote:

> Is backward compatibility necessary? I suppose that if we raise major
> version number, then we can drop this compatibility and remove all
> deprecated functions :) This will make bash_completion slimmer.

I think this is not something that we should do lightly.  Especially
considering that we possibly have the namespace stuff pending which if
implemented would break backwards compatibility too.

> Also I don't think that we should sacrifice readability of the code for
> some small performance gains.

I don't think splitting into smaller files hurts or sacrifices
readability.  In addition to possible small performance gains, it makes
it immediately obvious which file one needs to look at if one wants to
tweak completion for a command without us having to deal with the pain
with symlinks.



More information about the Bash-completion-devel mailing list