zsh-users
 help / color / mirror / code / Atom feed
From: "Jun. T" <takimoto-j@kba.biglobe.ne.jp>
To: zsh-users@zsh.org
Cc: Pier Paolo Grassi <pierpaolog@gmail.com>
Subject: Re: menu completion
Date: Sat, 23 May 2020 03:36:51 +0900	[thread overview]
Message-ID: <6F7E7CFA-43CF-4D21-A9EA-E64CA84A9EAA@kba.biglobe.ne.jp> (raw)
In-Reply-To: <CAP+y1xCf0aRaALbUs2Z-n2Qbs7erdfTx1Xt9hJYGBK9W1oyqvg@mail.gmail.com>


> 2020/05/23 1:12, Pier Paolo Grassi <pierpaolog@gmail.com> wrote:
> 
> echo $ZSH_VERSION
> 5.1.1

I think the problem is in _grep in that old version of zsh.

You can either
(1) upgrade zsh (probably zsh-5.4 or later works), or

(2) download the latest zsh tarball, extract Completion/Unix/Command/_grep
and use it, or

(3) copy /usr/share/zsh/5.1.1/functions/_grep and modify the following line
(around line 13)
    '(-e --regexp -f --file)1: :_guard "^--*" pattern'
to
    '(-e --regexp -f --file)1: :_guard "^-*" pattern'
and use it.

  reply	other threads:[~2020-05-22 18:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05 12:00 Pier Paolo Grassi
2020-04-05 16:48 ` Dave Woodfall
2020-04-05 19:29 ` Mikael Magnusson
2020-04-06  2:18   ` Pier Paolo Grassi
2020-05-07 18:55     ` Jun. T
2020-05-09 18:23       ` Pier Paolo Grassi
2020-05-12  0:39         ` Jun T
2020-05-20 18:16           ` Pier Paolo Grassi
2020-05-22 15:34             ` Jun. T
2020-05-22 16:12               ` Pier Paolo Grassi
2020-05-22 18:36                 ` Jun. T [this message]
2020-05-23 10:51                   ` Pier Paolo Grassi
2020-05-23 19:21                     ` Bart Schaefer
2020-05-23 19:40                       ` Bart Schaefer

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=6F7E7CFA-43CF-4D21-A9EA-E64CA84A9EAA@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=pierpaolog@gmail.com \
    --cc=zsh-users@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).