0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.218.1.38


Current Path : /proc/thread-self/root/usr/share/bash-completion/completions/
Upload File :
Current File : //proc/thread-self/root/usr/share/bash-completion/completions/pkg_delete

# bash completion for FreeBSD package management tools     -*- shell-script -*-

[[ $OSTYPE == *freebsd* ]] || return 1

_pkg_delete()
{
    local cur prev words cword
    _init_completion || return

    local pkgdir=${PKG_DBDIR:-/var/db/pkg}/

    [[ "$prev" == -o || "$prev" == -p || "$prev" == -W ]] && return

    COMPREPLY=( $( compgen -d -- "$pkgdir$cur" ) )
    COMPREPLY=( ${COMPREPLY[@]#$pkgdir} )

} &&
complete -F _pkg_delete -o dirnames pkg_delete pkg_info pkg_deinstall

# ex: filetype=sh