Codebase list debian-goodies / b9e3ba82-ebe0-4f76-94ea-1c3c79face39/main bash_completion / debian-goodies.pkgnames
b9e3ba82-ebe0-4f76-94ea-1c3c79face39/main

Tree @b9e3ba82-ebe0-4f76-94ea-1c3c79face39/main (Download .tar.gz)

debian-goodies.pkgnames @b9e3ba82-ebe0-4f76-94ea-1c3c79face39/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