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

compctl -X



I sent this some time ago, it seems to have disappeared...

`compctl -X explanation' should print the explanation if there *are*
matching completions, not if there aren't.  If the type of matching
wasn't used, you don't care; if it was, you want to know why.

*** Src/Zle/zle_tricky.c.minusX	Mon Jul 14 11:44:47 1997
--- Src/Zle/zle_tricky.c	Fri Aug  1 14:16:33 1997
***************
*** 2128,2134 ****
  	}
  
  	/* Print the explanation string if needed. */
! 	if (!showinglist && expl && !nmatches) {
  	    int up;
  
  	    feep();
--- 2128,2134 ----
  	}
  
  	/* Print the explanation string if needed. */
! 	if (!showinglist && expl && nmatches) {
  	    int up;
  
  	    feep();

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, Platanenallee 6, 15738 Zeuthen, Germany.



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