Revonzy Mini Shell

Şuanki Dizin: /usr/share/zsh/site-functions/
Dosya Yükle :
Şuanki Dosya : //usr/share/zsh/site-functions/_bootctl

#compdef bootctl

(( $+functions[_bootctl_command] )) || _bootctl_command()
{
    local -a _bootctl_cmds
    _bootctl_cmds=(
        "status:Show current firmware and boot settings"
    )
    if (( CURRENT == 1 )); then
        _describe -t commands 'bootctl command' _bootctl_cmds || compadd "$@"
    else
        local curcontext="$curcontext"
        cmd="${${_bootctl_cmds[(r)$words[1]:*]%%:*}}"
        if (( $+functions[_bootctl_$cmd] )); then
            _bootctl_$cmd
        else
            _message "no more options"
        fi
    fi
}

_arguments \
    {-h,--help}'[Prints a short help text and exits.]' \
    '--version[Prints a short version string and exits.]' \
    '*::bootctl command:_bootctl_command'

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux vps.suncrosonline.com 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64
Apache
162.241.69.42