Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Yes, another completion question
- X-seq: zsh-users 8142
- From: DervishD <zsh@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Yes, another completion question
- Date: Wed, 27 Oct 2004 20:49:48 +0200
- In-reply-to: <20041027174931.GB10569@DervishD>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: DervishD
- References: <20041027170851.GB10509@DervishD> <Pine.LNX.4.61.0410271016420.1295@xxxxxxxxxxxxxxxxxx> <20041027174931.GB10569@DervishD>
Hi Bart :)
* DervishD <zsh@xxxxxxxxxxxx> dixit:
> > I don't think there's any reason that compctl will disappear -- but it's
> > unlikely to get any bugfixes or further improvements, either.
> I haven't found any bug in compctl yet, although I haven't been
> using it for a long time. Anyway, I've got a segfault with compadd...
> surely fixed in 4.1.x and higher.
I don't know if it's a bug, but no matter if I try with a
function, a variable or a literal array I cannot get 'compctl -y' to
work. For example:
function lista () {
reply=(one two three)
}
compctl -f -y lista ls
And 'ls <TAB>' doesn't show the list. In fact, it doesn't show
any list. Same result with
compctl -f -y '(one two three)' ls
and
lista=(one two three)
compctl -f -y '$lista' ls
But this works:
compctl -f -y '(one)' ls
Shows 'one' instead of the list of completions, but nothing more :?
Is this a known bug? I'm tempted with writing my own shell
functions for completions and using compsys (it is maintained after
all) but I'm afraid I lack the needed knowledge... Anyway.
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author