From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3505 invoked from network); 4 Jul 1999 14:16:52 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Jul 1999 14:16:52 -0000 Received: (qmail 13509 invoked by alias); 4 Jul 1999 14:16:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6967 Received: (qmail 13502 invoked from network); 4 Jul 1999 14:16:43 -0000 Message-Id: <9907041348.AA41120@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: PATCH: pws-25: _path_files return status Date: Sun, 04 Jul 1999 15:47:59 +0200 From: Peter Stephenson I've got some completion function improvements of my own to come, but surely the following is necessary for the finally return status of _path_files? Success is if compstate[nmatches] is no longer equal to nm. --- Completion/Core/_path_files.c1 Tue Jun 22 10:02:49 1999 +++ Completion/Core/_path_files Sun Jul 4 15:45:32 1999 @@ -382,4 +382,4 @@ -M 'r:|/=* r:|=*' -p "$linepath" - "${(@)exppaths}" fi -[[ nm -eq compstate[nmatches] ]] +[[ nm -ne compstate[nmatches] ]] -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy