From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 954 invoked from network); 29 Jun 2023 12:41:08 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Jun 2023 12:41:08 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1688042468; b=YGuVteTLdIWAJYNHJXey4HBZJrmzdPXoineDo6Gz8zhGIrgSL+Fx2Fa3hW86sFtO3oSHCDWuIt z/N+vf/HCmbCVvK8Je3lnWb8vmFWjqcXG0FaWHc/aiDVp9mRxb834s9+KLlQMJC2F5eua743Of KBSIG38901TBRgdi8qynkzcDFQJM01VKjTmPhROJNABy2CGZbUeXRUTxXcxu2jKhd4LSd+FNjD 8pDfzPTwAYGRv23WfqU6Bb8LK5d+A/kt6AKn+6ig6DLXmlGTPwI1Iv63p4hpa3GgK4M2+Wb8Cs ynTz0CbiXPUCclKmc2Yo4Yxp8FOtTqDM3b9bGOFm5cfIjw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-40133.protonmail.ch) smtp.remote-ip=185.70.40.133; dkim=pass header.d=pm.me header.s=protonmail3 header.a=rsa-sha256; dmarc=pass header.from=pm.me; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1688042468; bh=NEK+D9f1tlBa4V+0XwlHaBpeJabkzIZTtgMRiJ/hoyA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:From:To:DKIM-Signature:Date:DKIM-Signature; b=UTYs2++msGDdSkxPX2+fsgbgC4aqEa8z7CwPDdgKYwOPTu0+Ge4ahMMHsX6HERvMnmlisDLXLS 7sHYvtytoqerXZZBD8zNqDvCg7YdGKgFMF+Ymi5aUHEkykBE9E20mtNsqNp2/Dmtyt8ZiRU4/i d/ULwnE9D+1e/9S66YxN30NcxANSrAJcQ+kvCtTsjoL7KPQqxJGSoV1ETBzrSssWQrnBhlj9lP HcUfYhdFrUyMmel2b/jas7tehqKOre50o5yfQ6K/YIAOrm05s/JmMRTAGZgfNxBEvrbnStaTj3 F6hatDEHNBT0ZrHss3hRpXRew9E9sNXgu0/f8kT/LIoXew==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Subject:From:To:Date:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=NEK+D9f1tlBa4V+0XwlHaBpeJabkzIZTtgMRiJ/hoyA=; b=gmN9e46w+ofnK9bHBr3m16Gux2 /IPLxxO7NMfgstUUY1NoQrjyX3kBDzoPxGQEyyrMgsKdCl3V9rR4QewcXt/08eYRQ5NMoUkwR7hUY yCsgFd7b8tjb+qP2yTAkHUwk63YZtYO5sTwxPj5+g82sSsvjLoqSCkf35hdzVFhjM0YJmp+yIqpZ6 +D2SHra5RAjwxJeElXqA1tAZhjQOAq5rrbWpD4V26dQYj9y984JkXoRZUAHm0K+E2Uu2iMWvzat6H Rtuw2qdSO+Abdu8dco8oYJAgUyqtRy/WpDj3YjkfgLy29ZsgorybyMsJVW2Xye3TiZUWoOvPKgIqw fTG6xTMw==; Received: by zero.zsh.org with local id 1qEqxO-000Kct-NQ; Thu, 29 Jun 2023 12:41:06 +0000 Authentication-Results: zsh.org; iprev=pass (mail-40133.protonmail.ch) smtp.remote-ip=185.70.40.133; dkim=pass header.d=pm.me header.s=protonmail3 header.a=rsa-sha256; dmarc=pass header.from=pm.me; arc=none Received: from mail-40133.protonmail.ch ([185.70.40.133]:23717) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qEqwd-000JuF-JX; Thu, 29 Jun 2023 12:40:19 +0000 Date: Thu, 29 Jun 2023 12:40:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1688042419; x=1688301619; bh=NEK+D9f1tlBa4V+0XwlHaBpeJabkzIZTtgMRiJ/hoyA=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=JUDXjQGfrZ7gpdZK5OKWoyxusde20kx8BK2fjW/7MPKXeDlRIL1k7Hwyki090daVg +dYxJLVgEn9o2zKX+x8azNZTe8ngUj4Z/i81AZPM9l+UYXLefkNMhrYTkj0+cu5Qnb ALdcpM1A9/DDgdxonnDgy/artJY6k+fa5sRN4fgcqodw0GPVyjIgX4WMULkkHq7/em C9YlYpOzW+gjRs+PaSeYZwcYCYlXe3y0+fNHOlIZTUJGM4bU4SiJnUoMVt627Zvo/+ mdG/8SVVFToqqdLBapckWxP6p/JzHAxjlwMz3UyGy6daqi7Q074qPKSnDd9E/1zkjl nJgHBHJ4jpAPg== To: zsh-users@zsh.org From: Marc Coquand Subject: How to have Zsh completion menu and use glob patterns + recursive search? Message-ID: Feedback-ID: 79185866:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 29093 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: I have the following setup for zsh completion autoload -U compinit && compinit zstyle ':completion:*' menu select zstyle ':completion:*' complete-options true setopt GLOB_COMPLETE zstyle ':completion*:default' menu 'select=3D0' zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}=3D{A-Za-z}' 'r:|[._-]=3D= * r:|=3D*' 'l:|=3D* r:|=3D*' zmodload zsh/complist Which gives me a nice autocomplete menu when I tab, where I can switch betw= een different options. However, I'd like to be able to do ./**/*file* = and get a selectable list of all options available. I notice that if I remove all the previous options that I have enabled, ./*= */*file* works but it expands to all available options. I'd like to ha= ve it instead as a menu of options that I can tab between. However, if I en= able the completion list, ./**/*file* stops working and doesn't do any= thing. So how do I enable so that I can recursively search for a file and have it = show up in an auto-completion menu that I can tab between? Thank you so much for your help Marc