* completion at beginning of line
@ 2000-06-18 9:33 Tanaka Akira
2000-06-18 14:14 ` PATCH: " Clint Adams
2000-06-18 16:00 ` Bart Schaefer
0 siblings, 2 replies; 4+ messages in thread
From: Tanaka Akira @ 2000-06-18 9:33 UTC (permalink / raw)
To: zsh-workers
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?
--
Tanaka Akira
^ permalink raw reply [flat|nested] 4+ messages in thread
* PATCH: Re: completion at beginning of line
2000-06-18 9:33 completion at beginning of line Tanaka Akira
@ 2000-06-18 14:14 ` Clint Adams
2000-06-18 16:05 ` Bart Schaefer
2000-06-18 16:00 ` Bart Schaefer
1 sibling, 1 reply; 4+ messages in thread
From: Clint Adams @ 2000-06-18 14:14 UTC (permalink / raw)
To: Tanaka Akira; +Cc: zsh-workers
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: completion at beginning of line
2000-06-18 9:33 completion at beginning of line Tanaka Akira
2000-06-18 14:14 ` PATCH: " Clint Adams
@ 2000-06-18 16:00 ` Bart Schaefer
1 sibling, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 2000-06-18 16:00 UTC (permalink / raw)
To: Tanaka Akira, zsh-workers
On Jun 18, 6:33pm, Tanaka Akira wrote:
} Subject: completion at beginning of line
}
} _main_complete:52: command not found: no
}
} Hm. Why?
Sven typo in 11873.
Index: Completion/Core/_main_complete
===================================================================
@@ -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
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-06-18 16:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-18 9:33 completion at beginning of line Tanaka Akira
2000-06-18 14:14 ` PATCH: " Clint Adams
2000-06-18 16:05 ` Bart Schaefer
2000-06-18 16:00 ` Bart Schaefer
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).