Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature Request: completion for history events
- X-seq: zsh-workers 51312
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Hendrik Jaeger <ml_zsh-workers@xxxxxxxxxxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: Feature Request: completion for history events
- Date: Mon, 16 Jan 2023 18:36:13 -0800
- Archived-at: <https://zsh.org/workers/51312>
- In-reply-to: <CAH+w=7bLooMGUFbgKt4Voyu3cPk3sRD+sk2DoYXz8xuvA-V94w@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20221229133959.27ce81c6@frustcomp.hnjs.home.arpa> <CAH+w=7bLooMGUFbgKt4Voyu3cPk3sRD+sk2DoYXz8xuvA-V94w@mail.gmail.com>
On Mon, Jan 16, 2023 at 6:34 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> zstyle ':completion:*' completer _oldlist _expand _complete _history
> _approximate
>
> _wanted -2V events expl "history event" compadd -Q -ld events -
> "${events[@]%% *}" &&
Please excuse/undo gmail word-wrapping on those two lines.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author