diff options
author | Charles Blake <cb@cblake.net> | 2018-07-13 09:54:51 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-07-21 17:25:12 -0400 |
commit | 231456c409ff38c75c39d01b781b569965ddf808 (patch) | |
tree | 592b89acd3172b0c23acdfe6113bcd70ea11aa3a /complete | |
parent | 1d09d4d31ba3ac2eb09edf31e8ec46b2b5cec388 (diff) |
ripgrep: add --pre flag
The preprocessor flag accepts a command program and executes this
program for every input file that is searched. Instead of searching the
file directly, ripgrep will instead search the stdout contents of the
program.
Closes #978, Closes #981
Diffstat (limited to 'complete')
-rw-r--r-- | complete/_rg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/complete/_rg b/complete/_rg index 586c90b4..b943484d 100644 --- a/complete/_rg +++ b/complete/_rg @@ -170,7 +170,8 @@ _rg() { {-w,--word-regexp}'[only show matches surrounded by word boundaries]' {-x,--line-regexp}'[only show matches surrounded by line boundaries]' - + '(zip)' # Compressed-file options + + '(input-decoding)' # Input decoding options + '--pre=[specify preprocessor utility]:preprocessor utility:_command_names -e' {-z,--search-zip}'[search in compressed files]' $no"--no-search-zip[don't search in compressed files]" |