Re: New feature: Implement catch-all programmable completion handler
From:
Chet Ramey
Subject:
Re: New feature: Implement catch-all programmable completion handler
Date:
Thu, 8 Jan 2009 08:25:59 -0500
> what about something like
>
> function __bash_completion_loader() {
> source "/etc/bash_completion.d/$1.sh" &>/dev/null
> return 127
> }
> complete -F __bash_completion_loader ''
>
> which will catch all programmable completions? Need change in bash.
> More info at https://bugzilla.redhat.com/show_bug.cgi?id=475229
Probably for bash-4.1 at the earliest.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://tiswww.tis.case.edu/~chet/