Debian Codegraph @

bash_completion/debian-goodies.pkgnames

raw
1 _pkg_names()
2 {
3 local cur prev opts
4 COMPREPLY=()
5 cur="${COMP_WORDS[COMP_CWORD]}"
6
7 COMPREPLY=( $( apt-cache pkgnames $cur 2> /dev/null ) )
8
9 return 0
10 } &&
11 complete -F _pkg_names which-pkg-broke dhomepage debget