From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: custom script Bash completion
Date: Sun, 10 Nov 2013 18:12:27 -0800 [thread overview]
Message-ID: <131110181227.ZM21779@torch.brasslantern.com> (raw)
In-Reply-To: <52801447.8010609@case.edu>
On Nov 10, 6:18pm, Chet Ramey wrote:
}
} In the Bash-4.2 info manual, you find:
Thanks, Chet. I searched for mentions of the "complete" builtin but
didn't dig far enough into the paragraphs describing what was done
to process a "compspec".
Among other likely deficiencies, it looks like the "complete" emulator
defined by bashcompinit does not support the -E (empty command name) or
-D (default) options (which may very well be intentional, but there's
really no documentation for bashcompinit); and it probably is not
processing the steps in the right order (e.g., commands with -C may be
handled before functions with -F, and wordlist with -W might come after
both where the bash manual says they should come first, etc.).
So this could use an overhaul if anyone feels so inclined.
prev parent reply other threads:[~2013-11-11 2:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-10 16:14 Thomas Ballinger
2013-11-10 18:24 ` Bart Schaefer
2013-11-10 19:09 ` Thomas Ballinger
2013-11-10 20:25 ` Bart Schaefer
2013-11-10 21:34 ` Thomas Ballinger
2013-11-10 23:18 ` Chet Ramey
2013-11-11 2:12 ` Bart Schaefer [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=131110181227.ZM21779@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/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).