* _email-lbdbq
@ 2008-05-17 12:43 Angel Olivera
0 siblings, 0 replies; only message in thread
From: Angel Olivera @ 2008-05-17 12:43 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1.1: Type: text/plain, Size: 431 bytes --]
Hi. I am tying to write a completion function for The Little Brother's
Database to complete e-mail addresses.
I don't understand why:
a. names (aliases) are not shown, despite the function returning the
items appropriately fomatted: alias:address
b. the list appears. I select one address and then the list appears
again, this time read-only (I cannot choose any of the items).
Thanks in advance.
--
redondos
[-- Attachment #1.2: _email-lbdbq --]
[-- Type: text/plain, Size: 153 bytes --]
_email-lbdbq() {
while read address name; do
reply+=(${name%[[:space:]]*\(*\)}:$address)
done < <(lbdbq)
reply=(${reply:#*lbdbq:})
return 300
}
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-17 12:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-17 12:43 _email-lbdbq Angel Olivera
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).