Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: pws-25: _path_files return status



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



Messages sorted by: Reverse Date, Date, Thread, Author