Re: New feature: Implement catch-all programmable completion handler

2009-01-08 Thread Chet Ramey
> 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.c

New feature: Implement catch-all programmable completion handler

2009-01-08 Thread Roman Rakus
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?i