From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: 'compadd -P' matches $PREFIX greedily
Date: Sat, 17 Sep 2016 06:50:18 -0700 [thread overview]
Message-ID: <160917065018.ZM29167@torch.brasslantern.com> (raw)
In-Reply-To: <20160917063258.GA26826@fujitsu.shahaf.local2>
On Sep 17, 6:32am, Daniel Shahaf wrote:
}
} This patch makes skipping the -P prefix an all-or-nothing affair: the -P
} prefix will only be skipped if it the longest common prefix it and
} ${PREFIX} have is equal to the -P prefix.
I had to read that sentence three times before I figured out that you
were saying what I thought you ought to be saying. :-)
} Thoughts?
Seems sensible to me, I can't think of any expected behavior that it
would break.
next prev parent reply other threads:[~2016-09-17 13:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-17 6:32 Daniel Shahaf
2016-09-17 13:50 ` Bart Schaefer [this message]
2016-09-18 1:28 ` Oliver Kiddle
2016-09-19 7:00 ` Daniel Shahaf
2016-09-19 8:51 ` [PATCH] _bts: Complete more argument types for 'cache' and 'show' Daniel Shahaf
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=160917065018.ZM29167@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--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).