bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New feature: Implement catch-all programmable completion handler


From: Roman Rakus
Subject: New feature: Implement catch-all programmable completion handler
Date: Thu, 08 Jan 2009 14:16:24 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]