Codebase list debian-goodies / e7cfacd bash_completion / debian-goodies.pkgnames
e7cfacd

Tree @e7cfacd (Download .tar.gz)

debian-goodies.pkgnames @e7cfacd

c5da1b5
 
 
 
 
 
 
 
 
e7cfacd
c5da1b5
_pkg_names()
{
    local cur prev opts
    COMPREPLY=()
    cur="${COMP_WORDS[COMP_CWORD]}"

    COMPREPLY=( $( apt-cache pkgnames $cur 2> /dev/null ) )

    return 0
} &&
complete -F _pkg_names which-pkg-broke dhomepage debget