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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1416 invoked from network); 18 Feb 2022 23:40:42 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 18 Feb 2022 23:40:42 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1645227642; b=U77zKSYFV9/B4WQOM7tcV44wx56tnRSf+U/oqr9UTxVwLmjWpsmQFvyzGFix1eiWkcsWg/aD6Z 4fefGsGDZeKka14/uAQGTi9MgqB1YiLtE1PuXcYSiS4UNbM36W6McAGTrASU/x1QLmzFo9xKAW VdhfY/odh5fHQcR8yug6+YgqCZ9A8HBq0d2EAbMsCL+qH1YgRnyJUFDKxp0j4gWCuujgSn5XMo 486b1jbi+A7DC5JQPyWzKmQSRpGNqOFxP1qC3ROKdOrRLSmTKPULaw33oU4fp5ek8CJRu7u3wY s8x4WtbG4cCGtCqr4las7nGCFV7BU7TGgfnbwhdWVTZMDg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yw1-f174.google.com) smtp.remote-ip=209.85.128.174; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1645227642; bh=h8YiqnaQ9Hs5+CeiKcfUYiR6Cd2ZMSKgCcRdkvuEYLA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=CIrSmVMA/lSCZ3Eh54DAvkugVKdIqZ4GGa0wMmABnUmR3rejlZnYzccxjlUzCuCmCz8xrk1D+i 2kpEXCpc+Dw6Hku1t3LsCiRhHiwqHT8Q1Xs+1ndNmjkU4xw6+FvjB49BSrEVhX6zAc9+bjQgOZ nFs+S8aeaMr+dOM4oWDfM5Kuo548JY4+JEYNRQ4JpWY4eE5LxNlfuAT7GNdUmE3sLc9w+XwsOd yhRaMxGqo2j3FYeIXk4zniuxBf1lrmJGtW2JHny/wIAi+vkklNWOPQL85k4YXJZFCjHXCobTbh whl6x2Q/7eTcrSsauLZe492DtLTN3ulFgKHvK6d0zcVl7g==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=KD4siD4e5O7fWmlbu7yt76Gev3Tuw0SvPR6Jvknorgw=; b=gOti4sbG1ZCT8UnmLHdaXBnBdG kjU6SBwqQFaMx63VeySbJvzyy0zXqkx9KfDOCKPUYu9RaYIj/Yysjd8c/yovGsYdEGU1tcnpQRCmo n/iQWQLULCeBf4iKPFiKiUpW0VvsWSitVgyK64F2F8xStrpSY7zl0YeTR5tGh0ZL6geYYI47KceUj HCIpHwgnDJvHpMPdw8vE3juyvQZu9UAeK3OLCex/uZ0A/EVphYXV1gzgMGu4/HS0UBAjSOA+weK8y kp4bKTSdgYsFR63r1sI2MwE5e/4J0Del/tyHJiTDzB4xYU1Llqd9HRDM/wVATLfakNC/kSnoRSVoE Z3/3TQsQ==; Received: from authenticated user by zero.zsh.org with local id 1nLCri-0004u3-ES; Fri, 18 Feb 2022 23:40:42 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yw1-f174.google.com) smtp.remote-ip=209.85.128.174; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yw1-f174.google.com ([209.85.128.174]:41323) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nLCqs-00047d-1N; Fri, 18 Feb 2022 23:39:51 +0000 Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-2d62593ad9bso82234607b3.8 for ; Fri, 18 Feb 2022 15:39:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KD4siD4e5O7fWmlbu7yt76Gev3Tuw0SvPR6Jvknorgw=; b=rzfPkDbQ7bregx4+QopCkBRuwwgUkG4E77sbN45yd1CQiYooUveK1V9/ORJHNFLC9J fYkQ1NhaB1jyJMTHWoZIOstsS60fRh2vCpvX7NKXj/yow17k0xFh5pyOFo5s1BXhDU7V 487gt4O2lXozvcZC8tABTiI4UPshbBxrHSJNCTpbZ/PP7e+1b98cuXk0yyCgxBBcFcbU KT8AqMk0QbfczS+kaTYdYFTCNpxGj3s84SQDQVDo6sL7TDGgOKnecL1EdpddHm7CaRjY whk8Yke7b4MjKgliLZfW4heVbbsDcmrA8Ebc5/M6u7yYvHXWcAHeKfEccQUxOKOaCFad S4jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KD4siD4e5O7fWmlbu7yt76Gev3Tuw0SvPR6Jvknorgw=; b=O2t0nmltLD9XhZ/RKgHnY6jBOldqK8P5w/hoMQu2PHeQJc8bC3CO8XNJkLdCVM4Q/9 nr27Uhrj2GpUUgU7QJYFyWcqsE803TnUJTYbAeJQMgoWRPIalPISWfMtR0vNraEFo7EF yCLvk6w6bWH7fkYQ5xcs2YkMSQD1cs9zG7RXZotnAIEUget6i5YGVP5xJX8NPcG1GnQx 5qk8/ib51Prdzrk7FuMuJL5hyda5rIJxKqE8vCFcSbMWvizqThBtCPWOyEf/vFpImItd YvBgTtyjOMCFAVEOSHp4AIoK2n7JSRR/nuyzEQpgEkz/4tubDppRKpO6k1tCjF7pK9KT tQbw== X-Gm-Message-State: AOAM532yu23qu9z9rEod9WHN5IP3jtrU5G4EXzfHqnOYTHkG+gDK24qL AGUGx2zZsZVBGMkQQe1AcVjx015zZioFlwegoCcNgw== X-Google-Smtp-Source: ABdhPJxuGsYvDZmB64XjxDCtr2RyHzEa04pZ+552Daxt3VLM6c4GNA+Qn3m2ViEEVXiPwxMjJGmmfnqWJAZP6fdppAM= X-Received: by 2002:a0d:fcc5:0:b0:2d6:8eec:b2f7 with SMTP id m188-20020a0dfcc5000000b002d68eecb2f7mr9937158ywf.439.1645227588861; Fri, 18 Feb 2022 15:39:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Fri, 18 Feb 2022 15:39:37 -0800 Message-ID: Subject: Re: completion inside vared To: Pier Paolo Grassi Cc: Zsh-Users List Content-Type: text/plain; charset="UTF-8" X-Seq: 27525 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: On Fri, Feb 18, 2022 at 3:09 PM Pier Paolo Grassi wrote: > > does anyone has some clue as to where I can find how to do this? Been busy and didn't have a chance to respond before. The _in_vared completer forces use of _value which calls _default. A side-effect of _default is that compctl completions are attempted. So what you need is: zstyle ':completion::complete:-value-*:*' use-compctl no Or if you want it to be specific to vared, something like: zstyle -e ':completion::complete:-value-*:*' use-compctl '[[ $funcstack = *_in_vared* ]] && reply=no' which admittedly is a bit convoluted ... _in_vared probably ought to be doing some style checks of its own rather than pushing everything down to _value.