Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
learning to write/use completion widgets?
- X-seq: zsh-users 12415
- From: "Aaron Davies" <aaron.davies@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: learning to write/use completion widgets?
- Date: Thu, 10 Jan 2008 16:30:35 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=xt1+Xhwf2ms/TdGd2EuGr+7tFSco27pkn6becsll/uY=; b=JrtX3t8m989v9R9f6VPV6t99HrSxrV5vm3bdsNrc+OXcieaBFFIE/KJ9fFDA3JZ3U0hHRi1w+m0kl1FvXnEnVlj5kqWMUHfZek1i+kAXkBMTthpvpTRpcfkNtSH0WIRw+ukhyTeVgZEXyzcgRyDfdSkKSyTJMlE2Adm0MdXjC58=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=vpJkMwyl6FjA2eEhCVaDAV7rnnkilBlujzWcTkNiU4CL3zUUYmHPSSvsFaRjQRf1JTIr77T7mYH6rZXXso7mipSLg6NKr+tyOwJ/xsFdBx81bSb3PGzP4bUibTIQco2CzXNTXmoaUni0nesMOqC/7pYnsaURD2+6esCavhzNHcM=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
is there some *simple* documentation out there on customizing the
completion system? for instance, i would like to be able to complete a
particular argument of certain shell functions from existing
parameters. returning all parameters from a function is trivial (and
in fact my guess is that it's built in somewhere), but tying this to
the context "first argument of functions foo, bar, and baz" is where i
get completely lost when trying to work my way through man zshcompwid,
chapters 17-19 of the manual, etc.
any help anyone can give would be much appreciated!
P.S.: I sent this same message a couple days ago, but I'm not sure it
went through properly.
--
Aaron Davies
aaron.davies@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author