From: Bart Schaefer <schaefer@brasslantern.com>
To: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: PATCH: Move _history_modifiers call to _parameter
Date: Thu, 14 Sep 2023 16:39:15 -0700 [thread overview]
Message-ID: <CAH+w=7a2dwXFP7yGq29ix8uwT_jV=NzhZSm680OiN6a61kwytQ@mail.gmail.com> (raw)
In-Reply-To: <CAKc7PVCmFL380WXxuoyUfU1aSt8OgappjV1aJ9MnewaFea8QqA@mail.gmail.com>
On Thu, Sep 14, 2023 at 2:04 PM Sebastian Gniazdowski
<sgniazdowski@gmail.com> wrote:
>
> I created a mew function with [Mikael's] patch applied. Advice on changing from _pa…terrs to the new function, when at: $ ::<TAB>?
Actually you should be able to do this with zstyle without needing the
new function.
zstyle -e ':completion:*:complete:-command-:*:*' tag-order \
'if [[ $words[CURRENT] = :* ]]; then \
reply=("commands builtins functions suffix-aliases
reserved-words jobs aliases") \
else
reply=("commands builtins functions suffix-aliases
reserved-words jobs parameters aliases modifiers") \
fi'
Rearrange the order as you see fit, I preserved the default.
prev parent reply other threads:[~2023-09-14 23:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-14 12:10 Mikael Magnusson
2023-09-15 4:05 ` Sebastian Gniazdowski
2023-09-14 23:39 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+w=7a2dwXFP7yGq29ix8uwT_jV=NzhZSm680OiN6a61kwytQ@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=sgniazdowski@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).