Codebase list debian-goodies / 3e6fc7f8-a8cf-4561-94b4-5e5650cec3ed/main bash_completion / debian-goodies.pkgnames
3e6fc7f8-a8cf-4561-94b4-5e5650cec3ed/main

Tree @3e6fc7f8-a8cf-4561-94b4-5e5650cec3ed/main (Download .tar.gz)

debian-goodies.pkgnames @3e6fc7f8-a8cf-4561-94b4-5e5650cec3ed/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