You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ example-script <tab>
-- option --
--after-context -A -- specify lines to show after each match
--and -- Logical AND
--auto-hybrid-regex -- dynamically use PCRE2 if necessary
--before-context -B -- specify lines to show before each match
--binary -- search binary files, don't print binary data
--block-buffered -- force block buffering
--byte-offset -b -- show 0-based byte offset for each matching line
--case-sensitive -s -- search case-sensitively
However, cod tries to learn it when passing --help.
I have a bunch of wrapper scripts around ripgrep
rg
, and I alias all of their completions torg
since the arguments get passed-through.Autocompletion already works in this manner, so
cod
should not try to learn them.However,
cod
tries to learn it when passing--help
.Here's how they are registered, tldr is
compdef mycommand=rg
.There is no
fpath
entry for these, they are justcompdef
aliases. This should be consulted before offering to learn a command.The text was updated successfully, but these errors were encountered: