Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'compadd -P' matches $PREFIX greedily
- X-seq: zsh-workers 39376
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: 'compadd -P' matches $PREFIX greedily
- Date: Sat, 17 Sep 2016 06:50:18 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=8pYNudfI2AdpnZqfQ9jvVVhq6NSbdioUl6Lgk8HnTCE=; b=KzjxA27mvuuFlyIbePT354TsMuoSRbVFpTfQD5bmXTS0QZUCTft6qr8Dzk+p6Y4EoB mTK6JeXJ2SgzNkhWBCQOdKC+PrKVQVYzP8pZfZ4WbSnBJedcg0kc5BbkotzH1zBv7lDE GqSyasscsHirECQXVHaJRtcZYf0SraPNjDPChTB+GxJXlrzB0rlNlnR6kRqjMx2BfPIM UtgN44A6w3jpehDUJ6R5/DeMHmnvBXRB5k2OZ5uV1Kbw/5TvSmGUflk04aPFm2fO29rS ZkPvuPnjGmtY8u0ClOkJ6l0RY/C/1gHNK2y7DaukZq+jE0XCai8HB+6fdZNeslQ33K35 F+SQ==
- In-reply-to: <20160917063258.GA26826@fujitsu.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author