Codebase list debian-goodies / 537408e9-f8b8-4b01-9fd7-c3240696568c/main bash_completion / debian-goodies.pkgnames
537408e9-f8b8-4b01-9fd7-c3240696568c/main

Tree @537408e9-f8b8-4b01-9fd7-c3240696568c/main (Download .tar.gz)

debian-goodies.pkgnames @537408e9-f8b8-4b01-9fd7-c3240696568c/mainraw · history · blame

_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