| 1 |
_have debconf-show && |
| 2 |
_debconf_show() |
| 3 |
{ |
| 4 |
local cur |
| 5 |
|
| 6 |
COMPREPLY=() |
| 7 |
cur=${COMP_WORDS[COMP_CWORD]} |
| 8 |
COMPREPLY=($( compgen -W '--listowners --listdbs --db=' -- $cur ) \ |
| 9 |
$( apt-cache pkgnames -- $cur ) ) |
| 10 |
} |
| 11 |
complete -F _debconf_show debconf-show |