zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: pws-25: _path_files return status
@ 1999-07-04 13:47 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 1999-07-04 13:47 UTC (permalink / raw)
  To: Zsh hackers list

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 <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


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

only message in thread, other threads:[~1999-07-04 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-04 13:47 PATCH: pws-25: _path_files return status Peter Stephenson

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