https://t.me/RX1948
Server : nginx/1.24.0
System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
Directory :  /usr/share/bash-completion/completions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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"))
        [[ -v nofiles ]] && compopt -o nospace
        return
    fi

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

# ex: filetype=sh

https://t.me/RX1948 - 2025