mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
update _wget for v1.7, _sysctl for darwin, _webbrowser for galeon etc (15983)
This commit is contained in:
parent
6fa692b6e4
commit
fe8295d2d2
6 changed files with 19 additions and 6 deletions
|
@ -1,8 +1,15 @@
|
|||
2001-10-08 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 15983: Completion/Unix/Command/_wget, Completion/Unix/Type/_urls,
|
||||
Completion/Unix/Command/_user_admin, Completion/Unix/Command/_sysctl,
|
||||
Completion/Unix/Command/_webbrowser: update for wget 1.7, darwin
|
||||
support in _sysctl, complete files for galeon
|
||||
|
||||
2001-10-08 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 15980: Functions/Misc/zcalc: '[#16] 2000' ignored the base.
|
||||
|
||||
* unposted: LICENCE: wording change from ages ago.
|
||||
* 15721: LICENCE: wording change from ages ago.
|
||||
|
||||
2001-10-08 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ case $OSTYPE in
|
|||
'(-o)-x[show opaques as well (entire values)]' \
|
||||
'(-a)*:sysctl variable:_multi_parts -i . sysctlvars'
|
||||
;;
|
||||
freebsd[0-4].*)
|
||||
: ${(A)_cache_sysctlvars:=${${$(sysctl -A):#[^a-z]*}%%:*}}
|
||||
freebsd[0-4].*|darwin*)
|
||||
: ${(A)_cache_sysctlvars:=${${$(sysctl -A 2>/dev/null):#[^a-z]*}%%:*}}
|
||||
_arguments -s -A "-*" \
|
||||
'(-w -X *)-a[list all]' \
|
||||
'(-w -X *)-A[show all opaques (values suppressed)]' \
|
||||
|
|
|
@ -19,7 +19,7 @@ if [[ $service = user* ]]; then
|
|||
'(-D)-f+[specify inactive days]:inactive days'
|
||||
'(-D)-g+[initial group]:initial group:_groups'
|
||||
'(-D)-G+[supplementary groups]:supplementary groups:_groups -S,'
|
||||
"(-D)-s+[shell]:shell:( $shells /dev/null )"
|
||||
"(-D)-s+[shell]:shell:( $shells /bin/false )"
|
||||
'(-D -M)-m[create home directory]'
|
||||
'(-D)-u[uid]:uid'
|
||||
'(-D)-o[allow non unique uid]'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#compdef amaya arena chimera express grail gzilla hotjava mmm mozilla opera www xmosaic Mosaic
|
||||
#compdef amaya arena chimera express grail gzilla hotjava mmm mozilla opera www xmosaic Mosaic galeon
|
||||
|
||||
_urls -f
|
||||
|
|
|
@ -74,6 +74,12 @@ _arguments -C -s \
|
|||
'(--cache -C)'{--cache=,-C+}'[(dis)allow server-cached data]:cache:(on off)' \
|
||||
'--htmlify=:htmlify:' \
|
||||
'--no:no:->noflags' \
|
||||
'--cookies=[turn cookies on or off]:cookies:(on off)' \
|
||||
'--load-cookies=[specify file to load cookies from]:cookie file:_files' \
|
||||
'--save-cookies=[specify file to save cookies to]:cookie file:_files' \
|
||||
'--no-http-keep-alive[disable HTTP keep-alive]' \
|
||||
'--sslcertfile=[specify client certificate]:client certificate file:_files' \
|
||||
'--sslcertkey=[specify keyfile for certificate]:keyfile:_files' \
|
||||
'*:url:_urls' && return 0
|
||||
|
||||
case "$state" in
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#compdef curl galeon
|
||||
#compdef curl
|
||||
|
||||
# Usage: _urls [-f]
|
||||
# Options:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue