Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: A weird bug of grep completion
- X-seq: zsh-workers 43216
- From: Joey Pabalinas <joeypabalinas@xxxxxxxxx>
- To: Joseph Lee <cgjosephlee@xxxxxxxxx>, <zsh-workers@xxxxxxx>
- Subject: Re: A weird bug of grep completion
- Date: Fri, 27 Jul 2018 16:34:29 -1000
- Cc: <joeypabalinas@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:user-agent :subject:mime-version:content-transfer-encoding; bh=urqtKhQmuM3N3DuZ64vNcLdQ0TVMMTn6ht6LeUWUzDA=; b=TcVb5ZtWOydROz+WD39psUIbkz0y453jqyyVSvsetmUOWQVmFRBn7jgKHDnEfmI4DJ sRstaU/c7Azx4uxjH4ADlZoxyuWlGvgbAvZoC5grWszSqOgnSyrZ5T8FngBdDXln2Qs1 DFRDdL8msoJbBjUsT1W0XUpM2y9VnaWEOymn+j1K+OE/DsjajfhmVdPTRzwB+H2UzG49 g2kQRwm8dcfGY4oN4wcJBcxynBaLqO40MQH0B3Z9WihjbKw8df1EuusADKOPNBUR3lWk XEr/QdMu/CJVjx6efrqAoO6CUCvWyBru65617rjytx2rhMuE6NeTJYN3ri8BtiEJoPtZ 5XYA==
- In-reply-to: <15e31c7e-4fc4-401a-8320-184f3914e572@Spark>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <15e31c7e-4fc4-401a-8320-184f3914e572@Spark>
On July 27, 2018 4:28:27 PM Joseph Lee <cgjosephlee@xxxxxxxxx> wrote:
> Dear all,
> I'm using macOS 10.13.6, zsh 5.5.1 (x86_64-apple-darwin16.7.0) and grep (GNU grep) 3.1 packaged by Homebrew.
> A weird behavior happened when completing `grep --no-*` arguments.
> While typing `--no-group-separator`, which is a GNU only argument, after another `--no-*`, the cursor stoped in a wrong place and unable to finish completion. But it works right when `--no-group-separator` goes ahead.
>
> Words might not be clear, so here's a demo video:
> https://streamable.com/bxbdv
>
> I would appreciate any ideas, thank you.
You ended up with your cursor one to the left of a - (you can see it within the block cursor) and that would cause completion to behave a bit oddly depending on setopts.
--
Cheers,
Joey Pabalinas
Messages sorted by:
Reverse Date,
Date,
Thread,
Author