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 3667 invoked from network); 13 Nov 2020 22:27:08 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 13 Nov 2020 22:27:08 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1605306428; b=0ZjnlrPY0pbX6GQcNiQ5OIxXboBwHh3AkgvwpUvjtfn3h3Ed0xlsDiPMhxHVygAFlTIVLwAQi9 3eOkM2ikN6qctCZDC+AByV4xl5t+rKIzDET+SnS+eDoviqCY3oHshT1RtNNUXgqH0oGpcXv0SH QUZIClMrJYn2pKQRjFDSUjUg73lNKrGciM3mW8T+eBdgppsXeIULW8lJ0SjYVnIQx8d7Bs3S6M 0fKBrac3Yzc8jBcKix6aA6HhvMOWFfGXrw7JDCQ3oHXWmMeoVffodhCDRgXUe9aaXxTTO9+sx1 YelZKI61/yb+oxQSLD5cG8cC0fZMVH3URfkwgUW8oaLKmg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f181.google.com) smtp.remote-ip=209.85.167.181; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 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-20200801; t=1605306428; bh=G53oXZbBpiVQUqvpl99cAzG5LSTR9Rq3XaJKQnRdvYo=; 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=Ng3TAdhxLkKWvVpvg/z5FVH8vQi8j5EemUNf35utvJlpvRKBWFYtTb4Pm2uF/gOPDuUKZsIGAm 0oakeTO2komQofgExwkW54TPsGBv1SP3zTeo4vB8kXJmRejXsauJr6m6C5MWxMKi941dGuIDnm P/Q0sCm6FJ1bARniy09FxjhJLi43qQYl3MUlAMGVOuaM2srM0fE8BGXnuPbxbsZfYoym0eaCLY u6OD03fw0Etf7GV+weELJm8I32S6JA4Lb9fD/NxFwTKCOXvYXx07z21EN3OcAVHGvEEyHn/4NJ UXP4/UjcBx4oeEIFl+bcpDzF02ewWyR7PSufDDR0z1eS1g==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; 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=G53oXZbBpiVQUqvpl99cAzG5LSTR9Rq3XaJKQnRdvYo=; b=qPuqbaCb6QxfJS1zr+bUDM/hUy HdGmia8wWLo9wp+9X7b7Jz6DNfendfiPDBGhL46w58JgLstV0ljnZegeWYlIW8GypFCWOot4iViwm TLU2BEtNbBC+w80I3tKCnosmWApsREwa8hTsY7f0/icQ4XYK+qBkuN31WJvLzpR/mCAamEfbvUFnd M/I2Z30rsMABc2xnHYe6TAopuITGqdZqsketEc6bKjHRz0fMc1gRHTWuwI2eU24PX80XnHt5xkMUz pX/xHG2HqiaoHGq1VXDyda6gXOCag1EQQulyy7jJH3YQtPFF1buQTrrhQmv6OT6cDNNMEVCByCO+h Ayxv8VlA==; Received: from authenticated user by zero.zsh.org with local id 1kdhX9-0007Ka-Px; Fri, 13 Nov 2020 22:27:07 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f181.google.com) smtp.remote-ip=209.85.167.181; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-oi1-f181.google.com ([209.85.167.181]:42151) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kdhWo-0006xS-4J; Fri, 13 Nov 2020 22:26:46 +0000 Received: by mail-oi1-f181.google.com with SMTP id w145so12099310oie.9 for ; Fri, 13 Nov 2020 14:26:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G53oXZbBpiVQUqvpl99cAzG5LSTR9Rq3XaJKQnRdvYo=; b=NXEk+71oCzIGI9XI0H0LWRvMG/pShcHeJ/S3mSlLRwaQvjT5zxUQSm28o9suSSjgH+ uYaSx1qEgBvUhzBN6K4cLqZCBWiE0VthS4YZryQK62lfU1kB7PmQMlEIAVO/y4Vmy5vy qwEojLq+k8v07WRy/MLe7tysjRkRiE5V8rBD4/bSRyR2RGVjPOO/uR8cp3X64+bqWykd cfGB2Rgl8Gf8WfJM2QzmP4qqaVnrs6QVGu1y77bqCR6ycAnn5A5Uxp7ekXpq1xJs65gq Jj2uH5jM5ANhIKquweauM9a4pGn/1xzodN8GGTse18X/+wSmr6IWSnz3berThKyVvBeN NR5A== 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=G53oXZbBpiVQUqvpl99cAzG5LSTR9Rq3XaJKQnRdvYo=; b=Bszt5unfxw8CDhxCx79ecDQlvy07i4dlU1G83QqFTGczTh/hzBRePvkqfYBta6085r 2DAnXAzt8XPGt/17ZvHLmlF/pVixi/KMTCrRrKAnk2fKrodcwHQYl5GT7NqaKxTuOvN5 AzA5BMESLc6dybzF2bJuReTxQu3tlfTP5c7l+NMXcIZrBUJhC8zOlNPEf53aCmY6D1zg es8US3NFQ8H+8KrGEkn5UaQd66YJPgUq9gEZhrzQ4HTJhRjbWUIK4vqUKlGzTnILF8D5 eXDDeCIkkugPoVIHyoY4lIjalJ3cwjPoHGaz/rfb54blKoyfw+UEhiwtQEWe7OFWlcCs kjLw== X-Gm-Message-State: AOAM5323Dnr9zbb+nvfmS64mO6ebjoDqej/UkHard5HLgdHsYKX0RQWN 9iOL7Pl3yZPloACC0384HVO9sudYUVpBpm3EedxGvg== X-Google-Smtp-Source: ABdhPJwBgHaVv0YlQYxVNYpDjYuEgVliC/BYistx22KHTFlX4yCj2TfdaJahYJYVmvzVHONW1alpTZW7Xn2c+BLSsyI= X-Received: by 2002:a54:4388:: with SMTP id u8mr2985361oiv.173.1605306405063; Fri, 13 Nov 2020 14:26:45 -0800 (PST) MIME-Version: 1.0 References: <20201113174124.cb440e381388179852e48c62@virgin.net> <20201113093443.afd8d11e641eedb409c2ee37@virgin.net> In-Reply-To: From: Bart Schaefer Date: Fri, 13 Nov 2020 14:26:34 -0800 Message-ID: Subject: Re: _pick_variant To: Roman Perepelitsa Cc: Thomas Lauer , Zsh Users Content-Type: text/plain; charset="UTF-8" X-Seq: 26165 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: Archived-At: On Fri, Nov 13, 2020 at 2:42 AM Roman Perepelitsa wrote: > > The clash isn't with an existing command but rather with a completion > function that's included in zsh. It is conceivably possible to rewrite compinit such that it does not install completions for commands not found in $path, but as you mention in a later message in this thread, that will increase startup time, and/or has to be incorporated into the .zcompdump cache. > My latest similar clash was with the open command. This is a macOS > command but I'm using Linux, so I cannot even have the open command > that _open expects. That's why _open is in the Completion/Darwin subtree; in an ideal world, a linux install would omit files in that subtree from $fpath. In practice, everybody seems to install everything everywhere.