Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Complete with *part* not part*
- X-seq: zsh-users 21276
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Complete with *part* not part*
- Date: Fri, 12 Feb 2016 18:19:32 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=eRos7Bu/NChRYOnzKngi336QPSO9woG7s129E5A6SBo=; b=WTebvZkah/pasEtzkmN7N7etxhLM9Q669sEuKbu/T9nqLQYV5XLoP0DcWlFnZ4FQzw 3DtC1GI3MZM3Kl6gze2le0vaOMj1h312eeGwyYbYgjH6RCf8iwF6q4Ko9vJxu4nOsiy4 bXbvdLC0OGLukROX+FFaeAVTz8IEICMPj7d5bVbyYG7vqxC5WpV8hQKdQ7AHf/LspFIC I1Je7k4OINTErL2478/lDd6u9Xptwdi/zlBJIDh97vjuoltr0n/5RUozYW9dTx9/esJz gT/ofsv4ZHW43LIR2Pn9e3pZKj9/AVu3NAAIfpTL2EfRDQDWm+C7jiUOM8+dYIRSl8AJ IzTA==
- In-reply-to: <CAKc7PVD7OsvcJFNm4y=bJZNf+6s5bj1PT8PMQgwF-9WBRddyCg@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCbo2jTacSQC9VZHATgH+qoWYSgTvFyHA1p-7Uz+fj7SA@mail.gmail.com> <CAHYJk3T-_iLDF9FJ6ypRzKBe=-KeAySkA53FbXUT53yaobYAww@mail.gmail.com> <160212080127.ZM14265@torch.brasslantern.com> <CAKc7PVD7OsvcJFNm4y=bJZNf+6s5bj1PT8PMQgwF-9WBRddyCg@mail.gmail.com>
I used zplugin/dtrace to catch all zstyle calls performed after
"zplugin load go<TAB>":
https://asciinema.org/a/birc08xq4qa2cbl9zcwvlxvho
I attach the dtrace report. Interesting, there is only:
Zstyle -a :completion::expand::: matcher-list _matchers
Zstyle -a :completion::complete::: matcher-list _matchers
Zstyle -s :completion::complete:zplugin:argument-rest:argument-rest
matcher match
Zstyle -s :completion::complete:zplugin::plugins matcher match
Zstyle -a :completion::ignored::: matcher-list _matchers
There isn't something analogous to list-colors zstyle:
Zstyle -a :completion::complete:zplugin:argument-rest:argument-rest
list-colors val
Will I be able to target the matcher-list zstyle at
":completion::complete:zplugin:argument-rest:" if there is no test for
this zstyle during operations triggered by <TAB>?
Best regards,
Sebastian Gniazdowski
Plugin report for[00m [01;35m_dtrace[00m/[01;33m_dtrace[00m
[01;35m---------------------------------[00m
[01;32mZstyle[00m -s :completion::::: insert-tab tmp
[01;32mZstyle[00m -a :completion:::::default list-colors val
[01;32mZstyle[00m -t :completion:::::default list-packed
[01;32mZstyle[00m -t :completion:::::default list-rows-first
[01;32mZstyle[00m -t :completion:::::default last-prompt
[01;32mZstyle[00m -t :completion:::::default accept-exact
[01;32mZstyle[00m -a :completion:::::default menu val
[01;32mZstyle[00m -s :completion:::::default force-list val
[01;32mZstyle[00m -s :completion:::::default list-prompt tmp
[01;32mZstyle[00m -s :completion:::::default select-prompt tmp
[01;32mZstyle[00m -s :completion:::::default select-scroll tmp
[01;32mZstyle[00m -a :completion::::: completer _completers
[01;32mZstyle[00m -t :completion::expand::: show-completer
[01;32mZstyle[00m -a :completion::expand::: matcher-list _matchers
[01;32mZstyle[00m -T :completion::expand::: suffix
[01;32mZstyle[00m -s :completion::expand::: accept-exact tmp
[01;32mZstyle[00m -T :completion::expand::: substitute
[01;32mZstyle[00m -T :completion::expand::: glob
[01;32mZstyle[00m -t :completion::complete::: show-completer
[01;32mZstyle[00m -a :completion::complete::: matcher-list _matchers
[01;32mZstyle[00m -s :completion::complete:zplugin::options auto-description autod
[01;32mZstyle[00m -a :completion::complete:zplugin:: group-order order
[01;32mZstyle[00m -a :completion::complete:zplugin:: tag-order order
[01;32mZstyle[00m -s :completion::complete:zplugin:argument-rest:argument-rest group-name gname
[01;32mZstyle[00m -a :completion::complete:zplugin:argument-rest:argument-rest list-colors val
[01;32mZstyle[00m -t :completion::complete:zplugin:argument-rest:argument-rest list-packed
[01;32mZstyle[00m -t :completion::complete:zplugin:argument-rest:argument-rest list-rows-first
[01;32mZstyle[00m -t :completion::complete:zplugin:argument-rest:argument-rest last-prompt
[01;32mZstyle[00m -t :completion::complete:zplugin:argument-rest:argument-rest accept-exact
[01;32mZstyle[00m -a :completion::complete:zplugin:argument-rest:argument-rest menu val
[01;32mZstyle[00m -s :completion::complete:zplugin:argument-rest:argument-rest force-list val
[01;32mZstyle[00m -s :completion::complete:zplugin:argument-rest:argument-rest format format
[01;32mZstyle[00m -s :completion::complete:zplugin:argument-rest:argument-rest hidden hidden
[01;32mZstyle[00m -s :completion::complete:zplugin:argument-rest:argument-rest matcher match
[01;32mZstyle[00m -s :completion::complete:zplugin:argument-rest:argument-rest sort sort
[01;32mZstyle[00m -s :completion::complete:zplugin:argument-rest: sort sort
[01;32mZstyle[00m -a :completion::complete:zplugin:argument-rest:argument-rest ignored-patterns _comp_ignore
[01;32mZstyle[00m -s :completion::complete:zplugin:argument-rest:argument-rest ignore-line hidden
[01;32mZstyle[00m -a :completion::complete:zplugin:argument-rest:argument-rest fake match
[01;32mZstyle[00m -a :completion::complete:zplugin:argument-rest:argument-rest fake-always match
[01;32mZstyle[00m -a :completion::complete:zplugin:: group-order order
[01;32mZstyle[00m -a :completion::complete:zplugin:: tag-order order
[01;32mZstyle[00m -s :completion::complete:zplugin::plugins group-name gname
[01;32mZstyle[00m -a :completion::complete:zplugin::plugins list-colors val
[01;32mZstyle[00m -t :completion::complete:zplugin::plugins list-packed
[01;32mZstyle[00m -t :completion::complete:zplugin::plugins list-rows-first
[01;32mZstyle[00m -t :completion::complete:zplugin::plugins last-prompt
[01;32mZstyle[00m -t :completion::complete:zplugin::plugins accept-exact
[01;32mZstyle[00m -a :completion::complete:zplugin::plugins menu val
[01;32mZstyle[00m -s :completion::complete:zplugin::plugins force-list val
[01;32mZstyle[00m -s :completion::complete:zplugin::plugins format format
[01;32mZstyle[00m -s :completion::complete:zplugin::plugins hidden hidden
[01;32mZstyle[00m -s :completion::complete:zplugin::plugins matcher match
[01;32mZstyle[00m -s :completion::complete:zplugin::plugins sort sort
[01;32mZstyle[00m -s :completion::complete:zplugin:: sort sort
[01;32mZstyle[00m -a :completion::complete:zplugin::plugins ignored-patterns _comp_ignore
[01;32mZstyle[00m -s :completion::complete:zplugin::plugins ignore-line hidden
[01;32mZstyle[00m -a :completion::complete:zplugin::plugins fake match
[01;32mZstyle[00m -a :completion::complete:zplugin::plugins fake-always match
[01;32mZstyle[00m -t :completion::ignored::: show-completer
[01;32mZstyle[00m -a :completion::ignored::: matcher-list _matchers
[01;32mZstyle[00m -s :completion:::::warnings format format
[01;32mZstyle[00m -a :completion:::::warnings list-colors val
[01;32mZstyle[00m -t :completion:::::warnings list-packed
[01;32mZstyle[00m -t :completion:::::warnings list-rows-first
[01;32mZstyle[00m -t :completion:::::warnings last-prompt
[01;32mZstyle[00m -t :completion:::::warnings accept-exact
[01;32mZstyle[00m -a :completion:::::warnings menu val
[01;32mZstyle[00m -s :completion:::::warnings force-list val
[01;32mZstyle[00m -s :completion::::: show-ambiguity tmp
[01;34mVariables added or redefined:[00m
MENUPROMPT [01;32m[ "" -> scalar ][00m
ZLE_LINE_ABORTED [01;32m[ "" -> scalar ][00m
ZLS_COLORS [01;32m[ "" -> scalar ][00m
LISTPROMPT [01;32m[ "" -> scalar ][00m
expl [01;32m[ "" -> array ][00m
Messages sorted by:
Reverse Date,
Date,
Thread,
Author