AnonSec Team
Server IP : 161.35.85.9  /  Your IP : 216.73.217.138
Web Server : nginx/1.30.4
System : Linux cheapdeb-ams3 7.0.9+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.0.9-1 (2026-05-22) x86_64
User : root ( 0)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/bash-completion/completions/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /usr/share/bash-completion/completions/lz4
# lz4 completion                                           -*- shell-script -*-

_comp_cmd_lz4()
{
    local cur prev words cword comp_args
    _comp_initialize -- "$@" || return

    case $prev in
        -b)
            _comp_compgen_filedir
            return
            ;;
    esac

    if [[ $cur == -* ]]; then
        _comp_compgen -R help -- -h
        _comp_compgen -- -X '-*#*' -W \
            '${COMPREPLY+"${COMPREPLY[@]}"} -B{4..7} -i{1..9}'
        return
    fi

    local REPLY word xspec="*.?(t)lz4"
    _comp_count_args
    local args=$REPLY
    ((args > 2)) && return

    for word in "${words[@]}"; do
        case $word in
            -*[dt]*)
                case $args in
                    1) xspec="!"$xspec ;;
                    2) [[ $word == *t* ]] && return ;;
                esac
                break
                ;;
            -z)
                case $args in
                    1) xspec= ;;
                    2) xspec="!"$xspec ;;
                esac
                break
                ;;
        esac
    done

    _comp_compgen_tilde && return

    compopt -o filenames
    _comp_compgen -- -f -X "$xspec" -o plusdirs
} &&
    complete -F _comp_cmd_lz4 lz4 lz4c

# ex: filetype=sh

AnonSec - 2021