Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Feature Request: completion for history events



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