Skip to content
Myr

_rg: change some compadd -q to -r

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

it was pointed out to me that i've been using -q a bit too loosely. this is probably better

authored by dana · committed by Andrew Gallant · parent 2394f72 · Browse files · 1 file+4 added−4 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+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:crates/core/flags/complete/rg.zsh+4 added-4 removed
387 unmodified lines
388 '(389 bg:"specify background color"390 fg:"specify foreground color"391 style:"specify text style"392 )' -qS: \392 )' -r: -S: \393 -- \394 '( none:"clear color/style for type" )'395396 else
2 unmodified lines
399 line:"specify coloring for line numbers"400 match:"specify coloring for match text"401 highlight:"specify coloring for matching lines"402 path:"specify coloring for file names"403 )' -qS:403 )' -r: -S:404 fi405}406407# Complete type specs
7 unmodified lines
415416 elif compset -P '[^:]##:'; then417 _describe -t type-specs-include 'include directive' '(418 include:"include other type definitions"419 )' -qS: && ret=0419 )' -r: -S: && ret=0420 _wanted type-specs-glob expl 'glob pattern' _files && ret=0421422 else423 _wanted type-specs-name expl 'file type (or new name)' \424 _rg_types -qS: && ret=0424 _rg_types -r: -S: && ret=0425 fi426427 return ret428}
277 unmodified lines