Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Colon in alias appears to be breaking task compltion
- X-seq: zsh-users 27093
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Steve Dondley <s@xxxxxxxxxxx>
- Cc: Zsh users <zsh-users@xxxxxxx>
- Subject: Re: Colon in alias appears to be breaking task compltion
- Date: Sun, 5 Sep 2021 10:48:28 -0700
- Archived-at: <https://zsh.org/users/27093>
- In-reply-to: <CAH+w=7bxkhAhRnz-L5A9B=2+2KoRgPSb37FE1FGHB+su-LROBg@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <51f72df9dcf7b69a4fa965d5a011929d@dondley.com> <9089eaa8b480424c11b72043e85787b2@dondley.com> <CAH+w=7bxkhAhRnz-L5A9B=2+2KoRgPSb37FE1FGHB+su-LROBg@mail.gmail.com>
On Sun, Sep 5, 2021 at 10:27 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Sun, Sep 5, 2021 at 10:16 AM Steve Dondley <s@xxxxxxxxxxx> wrote:
> > It does, however, work just find in bash.
>
> That's to a large extent irrelevant as the two systems work quite differently.
In particular, the bash completion is probably looking only at the
single word after which TAB was pressed, whereas the OMZ completion
has been written to syntax check the entire context using the
_regex_arguments mechanism.
% task add due:1h<TAB>
completes to
% task add due:1hrs
Conversely,
% task add due:1h pro<TAB>
parse failed before current word
Messages sorted by:
Reverse Date,
Date,
Thread,
Author