zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Re: completion partially stopped to work
@ 2000-06-29  8:19 Sven Wischnowsky
  0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 2000-06-29  8:19 UTC (permalink / raw)
  To: zsh-workers


Andrej Borsenkow wrote:

> With the latest CVS update:
> 
> bor@itsrm2% zsh -f
> itsrm2% autoload -U compinit; compinit -D
> itsrm2% cdpath=(/tools/src)
> itsrm2% zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}'
> 'm:{a-z}={A-Z} r:
> |[._-]=* r:|=*' 'm:{a-z}={A-Z} r:|[.-]=** r:|=**'
> itsrm2% cd z-bTAB
> B-e-e-p
> itsrm2% ls -d /tools/src/zsh-build
> /tools/src/zsh-build

Oops. _complete returned the return value from _first.

And a similar problem in _normal.

Bye
 Sven

Index: Completion/Core/_complete
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_complete,v
retrieving revision 1.5
diff -u -r1.5 _complete
--- Completion/Core/_complete	2000/06/28 14:27:26	1.5
+++ Completion/Core/_complete	2000/06/29 08:18:50
@@ -39,6 +39,7 @@
 
 # For arguments and command names we use the `_normal' function.
 
+ret=1
 if [[ "$compstate[context]" = command ]]; then
   curcontext="$oldcontext"
   _normal -s && ret=0
Index: Completion/Core/_normal
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_normal,v
retrieving revision 1.3
diff -u -r1.3 _normal
--- Completion/Core/_normal	2000/06/07 11:21:42	1.3
+++ Completion/Core/_normal	2000/06/29 08:18:50
@@ -68,6 +68,7 @@
 
 # Now look up the two names in the normal completion array.
 
+ret=1
 name="$cmd1"
 comp="$_comps[$cmd1]"
 

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

only message in thread, other threads:[~2000-06-29  8:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-29  8:19 PATCH: Re: completion partially stopped to work Sven Wischnowsky

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