Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-3.1.5-pws-19 unquotes prefix.
- X-seq: zsh-workers 6353
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: zsh-3.1.5-pws-19 unquotes prefix.
- Date: 26 May 1999 22:01:44 +0900
- In-reply-to: Sven Wischnowsky's message of "Wed, 26 May 1999 08:43:08 +0200 (MET DST)"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199905260643.IAA07549@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <199905260643.IAA07549@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> That was one problem. The other was that with old completion and
> `compctl -P '\*' -k '(a b)' foo', completion after `ls \*<TAB>' didn't
> work at all.
>
> Again, completion and quoting, sigh.
Thanks. But I found another problem with \*.
is27e1u11% fpath=($PWD/Completion/*(/))
is27e1u11% . Completion/Core/compinit
is27e1u11% _tst () { compadd -P '\*' a }
is27e1u11% _comps[tst]=_tst
is27e1u11% tst \*<TAB>
Then, I get no completion.
If _tst is defined as following, I get "tst \*a " correctly.
_tst () { compgen -P '\*' -k '(a)' }
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author