Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /usr/share/zsh/4.3.10/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/zsh/4.3.10/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

haha - 2025