zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: Tanaka Akira <akr@m17n.org>
Cc: zsh-workers@sunsite.auc.dk
Subject: PATCH: Re: completion at beginning of line
Date: Sun, 18 Jun 2000 10:14:07 -0400	[thread overview]
Message-ID: <20000618101407.A26426@scowler.net> (raw)
In-Reply-To: <hvog0qb72qf.fsf@serein.m17n.org>; from akr@m17n.org on Sun, Jun 18, 2000 at 06:33:28PM +0900

> Z(2):akr@flux% Src/zsh -f  
> flux% bindkey -e; autoload -U compinit; compinit -D
> flux% <TAB>
> _main_complete:52: command not found: no
> zsh: do you wish to see all 2100 possibilities (525 lines)? 
> 
> Hm.  Why?

This seems to clear up that error and do what was intended.
There looks to be a similar potential problem on line 44.

Index: Completion/Core/_main_complete
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_main_complete,v
retrieving revision 1.28
diff -u -r1.28 _main_complete
--- Completion/Core/_main_complete	2000/06/13 11:45:26	1.28
+++ Completion/Core/_main_complete	2000/06/18 14:10:42
@@ -49,7 +49,7 @@
 fi
 
 if [[ "$compstate[insert]" = tab* ]]; then
-  { "$tmp" = (|[[:blank:]]*)(yes|true|on|1)(|[[:blank:]]*) &&
+  { [[ "$tmp" = (|[[:blank:]]*)(yes|true|on|1)(|[[:blank:]]*) ]] &&
     { [[ "$curcontext" != :* || -z "$compstate[vared]" ]] ||
         zstyle -t ":completion:vared${curcontext}:" insert-tab } } && return 0
 


  reply	other threads:[~2000-06-18 14:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-18  9:33 Tanaka Akira
2000-06-18 14:14 ` Clint Adams [this message]
2000-06-18 16:05   ` PATCH: " Bart Schaefer
2000-06-18 16:00 ` Bart Schaefer

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=20000618101407.A26426@scowler.net \
    --to=schizo@debian.org \
    --cc=akr@m17n.org \
    --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).