Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
- X-seq: zsh-workers 39737
- From: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- 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
- In-reply-to: <1475084797-17029-1-git-send-email-danielsh@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: <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@xxxxxxxxxxxxxxxxxx> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author