Dnia 2014-08-26, o godz. 15:42:42
Alexander Tsoy <[email protected]> napisał(a):

> Several packages install completions into compatdir
> (/etc/bash_completion.d) by default. And these completions are
> incompatible with autoloader, so they will not work if you simply
> install them into completionsdir and create necessary symlinks. One
> example is sys-boot/grub [1]. What do you plan to do with such packages?
> 
> [1] https://bugs.gentoo.org/show_bug.cgi?id=477392

Are there any non-trivial issues like this? As far as I can see, this
particular issue is about using deprecated 'have' function. Fixing it
would be quite trivial, similarly fixing missing symlinks.

I'm aware of two non-trivial breakages with new scheme:

1. git-prompt that wasn't really a completion, so it couldn't work like
one :),

2. /etc/init.d/* completion can't work since it relies on absolute
paths and the autoloader works with relative only.

If we find a fair number of issues needing support for compatdir,
I guess we can end up with dual-mode 'eselect bashcomp'. Otherwise, I'd
rather focus on fixing offenders.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to