Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/thread-self/root/usr/share/zsh/5.5.1/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/root/usr/share/zsh/5.5.1/functions/_cowsay
#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

Hry