Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion with prefix which contains meta character.
- X-seq: zsh-workers 9259
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: completion with prefix which contains meta character.
- Date: 07 Jan 2000 08:38:28 +0900
- In-reply-to: Sven Wischnowsky's message of "Thu, 6 Jan 2000 16:03:15 +0100 (MET)"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200001061503.QAA19187@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <200001061503.QAA19187@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> Yup. Since $PREFIX contains the quoted form, compset should use it, too.
Now, `echo =<TAB>' completes nothing.
Z:akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; autoload -U compinit; compinit -D
is27e1u11% echo =<TAB>
This completes nothing.
set -x on latest zsh says:
is27e1u11% echo =<TAB>
...
+_main_complete:41> compset -P 1 \=
+_main_complete:42> compstate[context]=equal
...
set -x on 3.1.6-dev-14 says:
is27e1u11% echo =<TAB>
...
+_main_complete:41> compset -P 1 \=
+_main_complete:43> [[ = != */* && = == ~ ]]
...
Replacing the compset pattern \= with = works well, but they should
have same bahaviour, I think.
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author