Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _find
- X-seq: zsh-workers 6092
 
- From: Tanaka Akira <akr@xxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Re: PATCH: _find
 
- Date: 25 Apr 1999 04:04:37 +0900
 
- In-reply-to: Sven Wischnowsky's message of "Fri, 23 Apr 1999 14:01:37 +0200 (MET DST)"
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- References: <199904231201.OAA02796@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
 
In article <199904231201.OAA02796@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> > Hi. I found a bug in Completion/User/_find with zsh-3.1.5-pws-15.
> 
> Oops.
I found another problem about _find.
% zsh-3.1.5-pws-15 -f
% fpath=($PWD/Completion/*(/))
% . Completion/Core/compinit
% find <TAB>
/    ./   ../  
Hmm... Completion candidates are not enough.
--- Completion/User/_find-	Fri Apr 23 20:33:36 1999
+++ Completion/User/_find	Sun Apr 25 03:55:15 1999
@@ -13,7 +13,7 @@
   local ret=1
 
   compgen -g '. ..' && ret=0
-  _files -g '(-/)' && ret=0
+  _files -g '*(-/)' && ret=0
 
   return ret
 elif [[ "$prev" = -((a|c|)newer|fprint(|0|f)) ]]; then
-- 
[Tanaka Akira]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author