| Server IP : 217.160.0.64 / Your IP : 216.73.216.182 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67269618 ( 67269618) PHP Version : 8.4.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/self/root/kunden/proc/self/root/usr/share/zsh/functions/Completion/Unix/ |
Upload File : |
#compdef cowsay cowthink
local context state line
typeset -A opt_args
_arguments -s -S -A "-*" \
"(H mode)-e+[specify cow's eyes]:eye string [oo]" \
'(H)-f+[specify cowfile]:cowfile:->cowfile' \
"(H mode)-T+[specify cow's tongue]:tongue string" \
'(H)-W+[specify width for message word wrap]:wrap column [40]' \
'(H)-n[no wordwrap]' \
'*:message' \
+ 'H' \
'(- *)-h[display usage information]' \
'(- *)-l[list all cowfiles]' \
+ '(mode)' \
'(H -e -T)-b[borg mode]' \
'(H -e -T)-d[dead mode]' \
'(H -e -T)-g[greedy mode]' \
'(H -e -T)-p[paranoia mode]' \
'(H -e -T)-s[stoned mode]' \
'(H -e -T)-t[tired mode]' \
'(H -e -T)-w[wired mode]' \
'(H -e -T)-y[youthful mode]' && return
case "$state" in
(cowfile)
_wanted -C option-f-1 cowfiles expl 'cow file' compadd \
${=${(f)"$(_call_program cowfiles $words[1] -l)"}:#*\:} || _files -g "*.cow(-.)"
;;
esac