From: DervishD <zsh@dervishd.net>
To: zsh-users@sunsite.dk
Subject: Re: Yes, another completion question
Date: Wed, 27 Oct 2004 20:49:48 +0200 [thread overview]
Message-ID: <20041027184948.GA10764@DervishD> (raw)
In-Reply-To: <20041027174931.GB10569@DervishD>
Hi Bart :)
* DervishD <zsh@dervishd.net> 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/
next prev parent reply other threads:[~2004-10-27 18:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 17:08 DervishD
2004-10-27 17:27 ` Bart Schaefer
2004-10-27 17:49 ` DervishD
2004-10-27 18:49 ` DervishD [this message]
2004-10-29 15:17 ` Yet " William Scott
2004-11-01 12:42 ` DervishD
2004-11-01 13:13 ` William Scott
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=20041027184948.GA10764@DervishD \
--to=zsh@dervishd.net \
--cc=zsh-users@sunsite.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).