Codebase list debian-goodies / 372c5371-3cd1-42f0-ae18-619adc099779/main bash_completion / debian-goodies.pkgnames
372c5371-3cd1-42f0-ae18-619adc099779/main

Tree @372c5371-3cd1-42f0-ae18-619adc099779/main (Download .tar.gz)

debian-goodies.pkgnames @372c5371-3cd1-42f0-ae18-619adc099779/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