Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: pws-25: _path_files return status
- X-seq: zsh-workers 6967
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: PATCH: pws-25: _path_files return status
- Date: Sun, 04 Jul 1999 15:47:59 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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