Heray-Was-Here
Server : Apache
System : Linux vps37394.inmotionhosting.com 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User : jasonp18 ( 1000)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /proc/3/root/proc/3/cwd/usr/share/zsh/5.0.2/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/3/root/proc/3/cwd/usr/share/zsh/5.0.2/functions/_portsnap
#compdef portsnap

local context state line
typeset -A opt_args

flags=(
  '(cron)fetch[fetch a compressed snapshot or update existing one]'
  '(fetch)cron[sleep rand(3600) seconds, and then fetch updates]'
  '(update)extract[extract snapshot, replacing existing files and dirs]'
  '(extract)update[update ports tree to match current snapshot]'
)

_arguments -C -s \
    '-d[store working files in workdir]:workdir:_files -/' \
    '-f[read configuration options from conffile]:conf file:_files' \
    '-I[update INDEX only. (update command only)]' \
    '-k[trust an RSA key with SHA256 hash of KEY]:RSA key:_files' \
    '-l[merge the specified local describes file into the INDEX]:file:_files' \
    '-p[location of uncompressed ports tree]:uncompressed ports tree:_files -/' \
    '-s[server from which to fetch updates]:server:_hosts' \
    '*:principal:->principal' && ret=0

if [[ $state == principal ]]; then
  _alternative \
    ':file flag:_values -S " " -w "commands" $flags[@]' \
    '*:path:_files -/'
fi

return ret

Hry