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/gpgv
# gpgv(1) completion                                       -*- shell-script -*-

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

    case $prev in
        --help | --version | --weak-digest | --*-fd | -!(-*)[?h]*)
            return
            ;;
        --keyring)
            _filedir "@(gpg|kbx)"
            return
            ;;
        --homedir)
            _filedir -d
            return
            ;;
    esac

    local args
    _count_args "" "--@(weak-digest|*-fd|keyring|homedir)"

    if [[ $cur == -* && $args -eq 1 ]]; then
        COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
        return
    fi

    if ((args > 1)); then
        if [[ ${COMP_LINE,,} == *.@(asc|sig|sign)\ * ]]; then
            # Detached signature, only complete one arbitrary file arg and -
            if ((args == 2)); then
                COMPREPLY=($(compgen -W '-' -- "$cur"))
                _filedir
            fi
        else
            _filedir gpg
        fi
    else
        _filedir "@(asc|gpg|sig|sign)"
    fi
} &&
    complete -F _gpgv gpgv gpgv2

# ex: filetype=sh

https://t.me/RX1948 - 2025