diff options
author | Carlo Sala <carlosalag@protonmail.com> | 2022-02-11 20:45:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 20:45:09 +0100 |
commit | 5fad26ca4fae7169f5bba8fa6718d58cb2c0bd20 (patch) | |
tree | ea80ed8c539e84c432cc7a48177ea815e871ed5d /plugins/ripgrep | |
parent | 69e29378915d53655d8fa8dc181b6cf526754569 (diff) | |
download | zsh-5fad26ca4fae7169f5bba8fa6718d58cb2c0bd20.tar.gz zsh-5fad26ca4fae7169f5bba8fa6718d58cb2c0bd20.tar.bz2 zsh-5fad26ca4fae7169f5bba8fa6718d58cb2c0bd20.zip |
feat(ripgrep): update `rg` completion to v13.0.0 (#10687)
Source: https://github.com/BurntSushi/ripgrep/blob/13.0.0/complete/_rg
Diffstat (limited to 'plugins/ripgrep')
-rw-r--r-- | plugins/ripgrep/README.md | 4 | ||||
-rw-r--r-- | plugins/ripgrep/_ripgrep | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/plugins/ripgrep/README.md b/plugins/ripgrep/README.md index a26f45823..ab9d04116 100644 --- a/plugins/ripgrep/README.md +++ b/plugins/ripgrep/README.md @@ -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. diff --git a/plugins/ripgrep/_ripgrep b/plugins/ripgrep/_ripgrep index 828a6e601..31bc697c7 100644 --- a/plugins/ripgrep/_ripgrep +++ b/plugins/ripgrep/_ripgrep @@ -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)]" |