Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Rewrite of zsh-newuser-install
- X-seq: zsh-workers 48089
- From: "Paul" <GammaFunction@xxxxxxxxxxx>
- To: "Marlon Richert" <marlon.richert@xxxxxxxxx>, "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>, "Daniel Shahaf" <d.s@xxxxxxxxxxxxxxxxxx>, "dana" <dana@xxxxxxx>, "Oliver Kiddle" <opk@xxxxxxx>
- Cc: "Zsh hackers list" <zsh-workers@xxxxxxx>
- Subject: Re: Rewrite of zsh-newuser-install
- Date: Sun, 21 Feb 2021 21:54:22 -0600
- Archived-at: <https://zsh.org/workers/48089>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/C9FR7XFN5KB4.1N0C49A760PB2%40kbvv>
- Dkim-filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net BB0E6BD07C
- Dkim-filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net DAB81BD015
- In-reply-to: <CAHLkEDvOw87fPt9W9tXCEZda3psvmKipvXoX+MaDt6+EqbHH-g@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
On Fri Feb 19, 2021 at 3:38 PM CST, Marlon Richert wrote:
> I made some more changes. Please try them out and let me know what you
> think.
>
> * https://gitlab.com/marlonrichert/zsh-sensible/-/blob/master/zshrc
I decided to try out some of these, but there seems to be an issue with
completions, specifically when completing 'functions -<Tab>':
https://i.imgur.com/d7polcy.png
Minimal file which reproduces this issue with 'zsh -f':
---
zstyle ':completion:*:complete:*' matcher-list 'r:?|[-_]=**'
zstyle ':completion:*:functions' ignored-patterns '[[:punct:]]*[[:alnum:]]*'
zmodload zsh/complist
setopt MENU_COMPLETE
zstyle ':completion:*:default' menu yes select
autoload -Uz compinit
compinit
# plus either of the following two lines:
zstyle ':completion:*:options' matcher 'b:-=+'
zstyle ':completion:*:options' matcher 'm:{-}={+}'
---
This might be an issue with an upstream completion function, but it
should regardless be fixed before the new newusers is incorporated.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author