zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: A couple of minor completion mistakes
@ 2002-07-26 13:05 Oliver Kiddle
  0 siblings, 0 replies; only message in thread
From: Oliver Kiddle @ 2002-07-26 13:05 UTC (permalink / raw)
  To: Zsh workers

This just fixes a couple of minor things I've noticed in completion
functions.

Oliver

Index: Completion/Unix/Command/_netcat
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_netcat,v
retrieving revision 1.2
diff -u -r1.2 _netcat
--- Completion/Unix/Command/_netcat	15 Mar 2002 16:26:09 -0000	1.2
+++ Completion/Unix/Command/_netcat	26 Jul 2002 13:02:20 -0000
@@ -8,7 +8,7 @@
     _nedit && return
 
 if (( ! $+_nc_args )); then
-  local help="$(_call_program options nc -h < /dev/null 2>&1)"
+  local help="$(_call_program options $words[1] -h < /dev/null 2>&1)"
   local -A optionmap
   optionmap=(
     '*-e prog*' '-e+[program to exec after connect]:prog:_command_names -e'
Index: Completion/Unix/Type/_java_class
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_java_class,v
retrieving revision 1.1
diff -u -r1.1 _java_class
--- Completion/Unix/Type/_java_class	10 Apr 2002 05:24:29 -0000	1.1
+++ Completion/Unix/Type/_java_class	26 Jul 2002 13:02:20 -0000
@@ -1,3 +1,4 @@
+#autoload
 local classpath
 #Should probably add some sort of cache.
 #First use -classpath/-cp, then CLASSPATH, then assume .


This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.


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

only message in thread, other threads:[~2002-07-26 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-26 13:05 PATCH: A couple of minor completion mistakes Oliver Kiddle

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).