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,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5883 invoked from network); 17 Oct 2021 19:01:36 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 17 Oct 2021 19:01:36 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1634497296; b=GEWEki9PYuEHG+AQWQd3hTh1D0sew4/oiPiYYcmlHJZwlv+YpmRy/kq32ftco+3BVhSWz+ow3z 1n75c5R/PTRKlSPbLcMOg2kJ3zXf6pWn/8BySH6XZMHvpbeyceVYKBdqjzWnEPUzX1h7k2Ufo9 1rNWuYie8GjIjPTjLDvX6m3JxmNJ6BBfC8LRphHz80dBmqU6ByY7sJmF1e7mSBz+9zJLS4LZqE K0bjc8+dSZSBw0DKgfonl6cdU1A1BqSpsZ1TznlI3rnLBRurY65EFjJ0HYJhT/Rt7GzBfN7dFq NeR8TCRdGnmmVrR65qNgnZ58bhqS2n9H5O3AsFYfnd0/TQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f177.google.com) smtp.remote-ip=209.85.219.177; 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=1634497296; bh=dXx9bQ0sygY3u2/1rG7m1xsaXhD7MJPV3oygxs5FqQE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=rnU6Alq4uhrSQGnXbAI2pRxkm/6Rq3alqXnGoEP6c4cNHtE2yESsH1QqyKYCTjCmYGsmCMpnlL g6ImJ2EziAl4sJoON7fql5lNHU3iXfVPuobgDG8kxghnYat0hD8orXodBQAJSixZCmviieM6Bv A+BA9mmwWmkCVqEnQCsS3x4x7sbX30CRbfShy/lIQKQSfSS5OWS8uSSg5XgrxPvQOyRhOfdpbp ULgGvCmyWJDdh3c6zooD52xJxNhJPabHxxu0S0H4epg2mYBxsise7gzvOStVp1jHVsE/f4PPsz Mn58Erz3vTQ0rIW4BvO4I9y2c+r3ShAFBMUWXGmelxaf1Q==; 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:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=zbGw87uR1bQQN36A40J+KkZgZnnsJN+E5ftlb5milwU=; b=RhAQj6VDNxjW98sKjyU/CxBh+E ypvONqOOdYxEgxELzACdIlg/tp5M8cSwfwiHsc6Va0UjBkJ+wwDkuSbAoU3c86QKVRXMJuFcL3WOG jsk7Ws3GeFnI2DHXJ71aE422qWCYgyC8JrD/la+Z646hu1f3BZ9yYDp/b/qKB8tK1wO/mdBZabbpb Ki0RhUu0z7sXgB14VPkw5yWVxTLZKMC7L6dPsZ7Sjmn40b8D92fZDSoeYDRUPd0CuLBKLBjAZ22JU Q7hwoMjoe2ARZABBZVgQd6SE3tuKeLh8RypVGhfXU5EBFjwUaj0dR+Pzy0K3L9l9SS1wPr3MKWWT+ QrTj+c2A==; Received: from authenticated user by zero.zsh.org with local id 1mcBPb-000ASK-Km; Sun, 17 Oct 2021 19:01:35 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f177.google.com) smtp.remote-ip=209.85.219.177; 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-yb1-f177.google.com ([209.85.219.177]:33575) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mcBOQ-0009iD-6a; Sun, 17 Oct 2021 19:00:23 +0000 Received: by mail-yb1-f177.google.com with SMTP id v195so4705528ybb.0 for ; Sun, 17 Oct 2021 12:00:21 -0700 (PDT) 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; bh=zbGw87uR1bQQN36A40J+KkZgZnnsJN+E5ftlb5milwU=; b=q145sp1Hh+bSi9VMjNdnLcIt5mn2ORy63uww5LRBLhGm6LyHqh3Hd9rsRW1Su+h2xT HkrJnN6CJmJPOW/x0O8Mxzs/4sPxk+h5SxwgSHTa1/XwSx8nhjuMJRw/aAd1ajZiZMbJ mHrXlQQv+Z2V1efYNGhObjCemnlqWY99IcYzZpmBYH8bO7FdvbuFg5030F6rEU072Twh gnjU2TbLJ0XmQFkIJcdww67vmfWIf34HLB6T4/SLzaUzvLKVVSN0lG4Xm0ba7YRAaA7z RFyQyjAfFmVUy/mj2lZl0grTW+z+JSXEpKywSWFda22dPwiwGZc45wCIHC4RgX2moztg HCpQ== 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; bh=zbGw87uR1bQQN36A40J+KkZgZnnsJN+E5ftlb5milwU=; b=zyQSnTaKNiObNudcOt9RufGCAYFVUYpdxqaUIVHs/LHOiWptuo3xf2Q6l3QXw3wSU9 Q233aFGEpJkSivkDEqK+msw88atmrUTCkw84WaJazLissaT79Z0FQxBj1qAwlRx1Bxo0 9I09uFRyYdqen5fRu1cPkcwxT1JzBpM+fJYShcEt4NNSoFnXa4zRiFzDADFoz08m19Yr 8mQF594vVnkzDf98675ulFovU+glFMzhhMDouCtWYIuFzWPKTJ/0ILSvp8bINtKR6DlN j9eOn/9dG/8mgUDj/S2bhi8nVlnR+htA5lw1Trz8IEL77vtF9n0JeRHV2YlRsjkvtvtp G9wA== X-Gm-Message-State: AOAM531V6z3l5aRz0YeiWlxU/6swz/pVfKkPyzpjANIj3P5OyZWlug2c 7HfsiEq1eI9OSai7EVvokx+DIJi0lH4wAJ5RyfJ6UA== X-Google-Smtp-Source: ABdhPJz3bnSe4Z4ylfSeeBHvVtUDB6BW8aP+tVWwLDsluIW9UoUiC6/UgMIP3hQ6V/0uZlZtl1AziHAfgUm0iJ2ZWfY= X-Received: by 2002:a25:41d3:: with SMTP id o202mr5813011yba.266.1634497220775; Sun, 17 Oct 2021 12:00:20 -0700 (PDT) MIME-Version: 1.0 References: <20211015184034.GA7752@gmx.de> <20211015185603.GA8362@gmx.de> <20211015202640.GA11362@gmx.de> <20211016213045.GA8749@gmx.de> In-Reply-To: <20211016213045.GA8749@gmx.de> From: Bart Schaefer Date: Sun, 17 Oct 2021 12:00:09 -0700 Message-ID: Subject: Re: Where do these completions come from? To: dominik.vogt@gmx.de, Zsh Users Content-Type: text/plain; charset="UTF-8" X-Seq: 27247 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 Sat, Oct 16, 2021 at 2:33 PM Dominik Vogt wrote: > > On Sat, Oct 16, 2021 at 11:59:34AM -0700, Bart Schaefer wrote: > > On Fri, Oct 15, 2021 at 1:29 PM Dominik Vogt wrote: > > > > > > Is there a way to tell zsh only to complete parameter names that > > > are actually in the environment and not zsh internal ones? > > > > It ought to be possible with the tag-order style and examination of > > the keys/values in the $parameters special hash > > 'k. Please don't waste time on this, it's not important. Actually the tag-order part is the hard bit and probably overkill anyway. This should be enough: zstyle -e :completion::complete:-command-::parameters \ ignored-patterns 'reply=(${(k)parameters[(R)*(hidden|undefined)*])'