From: Clint Adams <schizo@debian.org>
To: Paul Joey Clark <pclark@cs.bris.ac.uk>
Cc: zsh-workers@sunsite.dk, ian@caliban.org
Subject: Re: use tab-completion rules extracted from man page
Date: Wed, 5 May 2004 11:05:35 -0400 [thread overview]
Message-ID: <20040505150535.GA27529@scowler.net> (raw)
In-Reply-To: <20040505024226.GA22722@hwi.ath.cx>
> I wrote this script to extract all the - and -- options of any program
> from its man page, and use them as possible words for completion.
The _arguments function can already extract options from the --help
output of the program, though not the manpage.
> compctl -f -c -u -r -K joeyComplete -H 0 '' "*" -tn
compctl is the old, deprecated method of zsh programmable completion. You
may want to look into the new, function-based (compsys) method to
achieve your ends.
prev parent reply other threads:[~2004-05-05 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-05 2:42 joey
2004-05-05 15:05 ` Clint Adams [this message]
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=20040505150535.GA27529@scowler.net \
--to=schizo@debian.org \
--cc=ian@caliban.org \
--cc=pclark@cs.bris.ac.uk \
--cc=zsh-workers@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).