Skip to content
Myr

_rg: update $no pattern to account for --require-git and --unicode

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by dana · committed by Andrew Gallant · parent f168a87 · Browse files · 1 file+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:crates/core/flags/complete/rg.zsh+3 added-2 removed
26 unmodified lines
27 # for all of the potential negation options listed below!28 if29 # We also want to list all of these options during testing30 [[ $_RG_COMPLETE_LIST_ARGS == (1|t*|y*) ]] ||31 # (--[imnp]* => --ignore*, --messages, --no-*, --pcre2-unicode)32 [[ $PREFIX$SUFFIX == --[imnp]* ]] ||31 # --[imnpru]* => --ignore*, --messages, --no-*, --pcre2-unicode,32 # --require-git, --unicode33 [[ $PREFIX$SUFFIX == --[imnpru]* ]] ||34 zstyle -t ":completion:${curcontext}:" complete-all35 then36 no=37 fi
648 unmodified lines