zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _links
@ 2001-08-22 21:35 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2001-08-22 21:35 UTC (permalink / raw)
  To: zsh-workers

Both branches.  Any ideas on how to handle host:port better?

Index: Completion/Unix/Command/.distfiles
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/.distfiles,v
retrieving revision 1.8
diff -u -r1.8 .distfiles
--- Completion/Unix/Command/.distfiles	2001/07/03 14:32:12	1.8
+++ Completion/Unix/Command/.distfiles	2001/08/22 17:39:19
@@ -14,5 +14,5 @@
 _dd           _gprof        _lynx         _perldoc      _telnet       _pine
 _dict         _grep         _lzop         _prcs         _tiff         _elm
 _diff         _gs           _make         _psutils      _tin	_apm  _mail
-_last         _loadkeys     _modutils     _ruby         _sysctl
+_last         _loadkeys     _modutils     _ruby         _sysctl _links
 '
Index: Completion/Unix/Command/_links
===================================================================
RCS file: _links
diff -N _links
--- /dev/null	Thu May 24 22:33:05 2001
+++ _links	Wed Aug 22 10:39:19 2001
@@ -0,0 +1,31 @@
+#compdef links
+
+local curcontext="$curcontext" state line
+typeset -A opt_args
+
+_arguments -C \
+       '-async-dns:bool:(0 1)' \
+       '-max-connections:max:' \
+       '-max-connections-to-host:max:' \
+       '-retries:retries:' \
+       '-receive-timeout:secs:' \
+       '-unrestartable-receive-timeout:secs:' \
+       '-format-cache-size:pages:' \
+       '-memory-cache-size:kilobytes:' \
+       '-http-proxy:hostport:_hosts' \
+       '-ftp-proxy:hostport:_hosts' \
+       '-download-dir:_files -/' \
+       '-assume-codepage:codepage:' \
+       '-anonymous' \
+       '-dump' \
+       '-no-connect' \
+       '-source' \
+       '-version' \
+       '-help' \
+       ':url:->html' && return 0
+
+case "$state" in
+html)
+  _files -g '*.html' || _urls
+  ;;
+esac


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-22 21:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-22 21:35 PATCH: _links Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).