New feature: Implement catch-all programmable completion handler

2 views
Skip to first unread message

Roman Rakus

unread,
Jan 8, 2009, 2:16:24 PM1/8/09
to bug-...@gnu.org, besf...@redhat.com
Hi,
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
RR

Chet Ramey

unread,
Jan 8, 2009, 2:25:59 PM1/8/09
to rra...@redhat.com, besf...@redhat.com, bug-...@gnu.org, ch...@po.cwru.edu

Probably for bash-4.1 at the earliest.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU ch...@case.edu http://tiswww.tis.case.edu/~chet/


Reply all
Reply to author
Forward
0 new messages