From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: [PATCH] Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
Date: Thu, 27 Oct 2016 14:58:04 +0900 [thread overview]
Message-ID: <64326837-5810-4AD1-A4BA-CE8487BF1F39@kba.biglobe.ne.jp> (raw)
In-Reply-To: <1475084797-17029-1-git-send-email-danielsh@fujitsu.shahaf.local2>
Sorry for not responding quickly.
On 2016/09/29, at 2:46, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> --- a/Completion/Unix/Command/_head
> +++ b/Completion/Unix/Command/_head
> @@ -32,7 +32,7 @@ case $state in
(snip)
> - if compset -P '*[0-9]'; then
> + if compset -P '[0-9]##'; then
What is intended by this patch?
With this, the following completes nothing:
$ head -n -5<TAB>
Same for _tail.
next prev parent reply other threads:[~2016-10-27 5:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-28 17:46 Daniel Shahaf
2016-09-28 18:18 ` Daniel Shahaf
2016-09-28 19:28 ` Bart Schaefer
2016-09-29 6:51 ` Daniel Shahaf
2016-10-27 5:58 ` Jun T. [this message]
2016-10-27 12:48 ` Daniel Shahaf
2016-10-27 15:00 ` Jun T.
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=64326837-5810-4AD1-A4BA-CE8487BF1F39@kba.biglobe.ne.jp \
--to=takimoto-j@kba.biglobe.ne.jp \
--cc=zsh-workers@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).