zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: Re: completion partially stopped to work
Date: Thu, 29 Jun 2000 10:19:47 +0200 (MET DST)	[thread overview]
Message-ID: <200006290819.KAA04329@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Thu, 29 Jun 2000 11:46:51 +0400


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


                 reply	other threads:[~2000-06-29  8:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200006290819.KAA04329@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).