Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _pick_variant
- X-seq: zsh-users 26165
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Subject: Re: _pick_variant
- Date: Fri, 13 Nov 2020 14:26:34 -0800
- Archived-at: <https://zsh.org/users/26165>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-11/CAH%2Bw%3D7aBLqnchtGB00kPv-XqX1MrXFqYLmWqRVVfUiKmiBaszA%40mail.gmail.com>
- 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
- Cc: Thomas Lauer <thomas.lauer@xxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- 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==
- In-reply-to: <CAN=4vMq45pnkpKFx9ntbfP68zGjq5gO5e_43r-F3hoiJcFSiqw@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- References: <20201113174124.cb440e381388179852e48c62@virgin.net> <CAH+w=7aD09dOMmUHkWZneSEjp0t7S1eWhJx6sc7LBxWqGmP8Ow@mail.gmail.com> <20201113093443.afd8d11e641eedb409c2ee37@virgin.net> <CAN=4vMq45pnkpKFx9ntbfP68zGjq5gO5e_43r-F3hoiJcFSiqw@mail.gmail.com>
- Sender: zsh-users-request@xxxxxxx
On Fri, Nov 13, 2020 at 2:42 AM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author