From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21177 invoked from network); 26 Jul 2002 13:06:25 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Jul 2002 13:06:25 -0000 Received: (qmail 5865 invoked by alias); 26 Jul 2002 13:06:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17484 Received: (qmail 5852 invoked from network); 26 Jul 2002 13:06:18 -0000 X-VirusChecked: Checked From: Oliver Kiddle To: Zsh workers Subject: PATCH: A couple of minor completion mistakes MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12561.1027688722.1@logica.com> Date: Fri, 26 Jul 2002 14:05:49 +0100 Sender: kiddleo@logica.com Message-Id: 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.