Hi,

David Paleino <da...@debian.org> writes:
> I've implemented a new revision of bash-completion, which uses debtriggers(5)
> to load only relevant completions, and symlink them when something
> touches /usr/bin/, /usr/games/, /usr/sbin/, /sbin/, /bin/, and so on.

zsh supports autoloading of functions: the time it is called first, zsh
will look for its definition in several directories (see "autoloading
functions" in zshmisc(1)).  As far as I know this is used by the
completion function to avoid loading unneeded parts.

Would it be possible for bash to use a similar scheme instead of using
triggers?  That way completions would also be available for software
installed into /usr/local (not using dpkg) without having to run some
command.

Regards,
Ansgar


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87tye61k1g....@marvin.43-1.org

Reply via email to