mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
feat(ripgrep): update rg
completion to v13.0.0 (#10687)
Source: https://github.com/BurntSushi/ripgrep/blob/13.0.0/complete/_rg
This commit is contained in:
parent
69e2937891
commit
5fad26ca4f
2 changed files with 3 additions and 5 deletions
|
@ -7,7 +7,3 @@ To use it, add `ripgrep` to the plugins array in your zshrc file:
|
|||
```zsh
|
||||
plugins=(... ripgrep)
|
||||
```
|
||||
|
||||
Completion is taken from the ripgrep release [`12.1.1`](https://github.com/BurntSushi/ripgrep/releases/tag/12.1.1).
|
||||
|
||||
Updated on April 1st, 2021.
|
||||
|
|
|
@ -121,7 +121,7 @@ _rg() {
|
|||
"(pretty-vimgrep)--no-heading[don't show matches grouped by file name]"
|
||||
|
||||
+ '(hidden)' # Hidden-file options
|
||||
'--hidden[search hidden files and directories]'
|
||||
{-.,--hidden}'[search hidden files and directories]'
|
||||
$no"--no-hidden[don't search hidden files and directories]"
|
||||
|
||||
+ '(hybrid)' # hybrid regex options
|
||||
|
@ -303,6 +303,8 @@ _rg() {
|
|||
'--context-separator=[specify string used to separate non-continuous context lines in output]:separator'
|
||||
$no"--no-context-separator[don't print context separators]"
|
||||
'--debug[show debug messages]'
|
||||
'--field-context-separator[set string to delimit fields in context lines]'
|
||||
'--field-match-separator[set string to delimit fields in matching lines]'
|
||||
'--trace[show more verbose debug messages]'
|
||||
'--dfa-size-limit=[specify upper size limit of generated DFA]:DFA size (bytes)'
|
||||
"(1 stats)--files[show each file that would be searched (but don't search)]"
|
||||
|
|
Loading…
Reference in a new issue