From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 29451 invoked from network); 6 Apr 2020 02:20:02 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 6 Apr 2020 02:20:02 -0000 Received: (qmail 13964 invoked by alias); 6 Apr 2020 02:19:54 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24759 Received: (qmail 22268 invoked by uid 1010); 6 Apr 2020 02:19:54 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk1-f178.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25772. spamassassin: 3.4.4. Clear:RC:0(209.85.221.178):SA:0(-2.0/5.0):. Processed in 1.984317 secs); 06 Apr 2020 02:19:54 -0000 X-Envelope-From: pierpaolog@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.221.178 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AMIRkoKnxYAS9HulN5FrFMY0RLaYv5iVlsD86GguZ5U=; b=Vjggqnhv1PuOBxWRJ/yeP+tDe9ZiWrxwEclS7tmebdfL4QN+oOZVBkLVi+Nep7Z5Ob xFjX9J0LRqNPb2/nuoFF57jvC2EmRP7U20CENqWwgduFEV27g2WmDT+U3IWjQOdhxAsS EIz4c3hiuXiwAj5ME1Q9jS/Mt7lD0KDfzlJpm7QgRyVfpHyvBv1fXZp0HjNFy+6dbrfw paAoOj0Okg5lIq/tSM08kCyS+4RadMvXFzIimwyAly4TSpPkfLeGJKF/6qY2R3KWKBKL kNLya2LQ0wTyeMwChk69IkrGt4Vnvl5NHGKzOjWmpQyf7/Q7yxZyb3PIvoD+ksFsdg2q 9qJg== X-Gm-Message-State: AGi0PuYM7c+vv+Aj5bHTZ6gCXylh/bXyuVilxwXMc31bUuj6OpdO2oZH MQNE71RYrAW0Cmt9NPYw6tnSHyQO4Sa2GucZPv8= X-Google-Smtp-Source: APiQypJ+PvFJoqo0xakp1yjDIzEN89/wxRyFpz5Kt6TD+g6N0iO6bXF5LEdUbtteRHJ880ElYnosqjoLTHVkGvMYMW8= X-Received: by 2002:a1f:ac8c:: with SMTP id v134mr14093645vke.35.1586139559189; Sun, 05 Apr 2020 19:19:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pier Paolo Grassi Date: Mon, 6 Apr 2020 04:18:42 +0200 Message-ID: Subject: Re: menu completion To: Mikael Magnusson Cc: Zsh-Users List Content-Type: multipart/alternative; boundary="000000000000fd625a05a295e4ec" --000000000000fd625a05a295e4ec Content-Type: text/plain; charset="UTF-8" thanks for the advices I found that setting LISTMAX=100000 doesn't get me the interactive menu completion, just the (normal?) menu completion without the "do you wish to see" question what I mean is (sorry if I am not using the correct terminology) grep - shows a list of options, but does not allow me to move through the options with the arrows if I do compdef _gnu_generic grep grep - gives me a menu like I want in my .zshrc I have zstyle ':completion:*' menu select=2 and nothing more specific to disable it just for grep if I don't redefine the completer with compdef the default completer for grep is _grep so, is it possibile that the issue is that _grep doesn't do interactive menu completion? is this something demanded to the completer to decide? Pier Paolo Grassi Il giorno dom 5 apr 2020 alle ore 21:29 Mikael Magnusson ha scritto: > On 4/5/20, Pier Paolo Grassi wrote: > > Hello, when trying to complete with interactive menu completion some > > command with many options, eg grep, I get a message like > > zsh: do you wish to see all 156 possibilities (41 lines)? > > is it possibile to disable it and just see the interactive menu? > > You can set LISTMAX=100000 or so to increase the default limit (which > is 100, I think). There is some other way to disable it too, because I > don't get the prompt and haven't set LISTMAX, but I'm not sure how I > did it :). > > -- > Mikael Magnusson > --000000000000fd625a05a295e4ec--