diff options
author | dana <dana@dana.is> | 2017-07-03 06:34:56 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-07-03 08:21:38 -0400 |
commit | dd3df0ded784a859ebecdb65f154f380f9d176c1 (patch) | |
tree | d6c8379d19cc036400f58f1df8e523272fd6d790 | |
parent | 62a182af789d85259bb65a7a607318fb09c3e92c (diff) |
Add --iglob to zsh completion function
-rw-r--r-- | complete/_rg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/complete/_rg b/complete/_rg index 428d79fe..7712f113 100644 --- a/complete/_rg +++ b/complete/_rg @@ -51,7 +51,7 @@ common_options=( '(1)*'{-e,--regexp=}'[specify pattern]:pattern' '(-E --encoding)'{-E,--encoding=}'[specify text encoding of files to search]: :->encoding' '(-F --fixed-strings)'{-F,--fixed-strings}'[treat pattern as literal string instead of regular expression]' - '*'{-g,--glob=}'[include or exclude files for searching that match the given glob]:glob' + '*'{-g,--glob=}'[include or exclude files for searching that match the specified glob]:glob' '(-h --help)'{-h,--help}'[display help information]' '(-i -s -S --ignore-case --case-sensitive --smart-case)'{-i,--ignore-case}'[search case-insensitively]' '(-n -N --line-number --no-line-number)'{-n,--line-number}'[show line numbers]' @@ -85,6 +85,7 @@ less_common_options=( '(-p --no-heading --pretty --vimgrep)--heading[show matches grouped by file name]' "(-p --heading --pretty --vimgrep)--no-heading[don't group matches by file name]" '--hidden[search hidden files and directories]' + '*--iglob=[include or exclude files for searching that match the specified case-insensitive glob]:glob' '(-L --follow)'{-L,--follow}'[follow symlinks]' '(-M --max-columns)'{-M,--max-columns=}'[specify max length of lines to print]:number of bytes' '(-m --max-count)'{-m,--max-count=}'[specify max number of matches per file]:number of matches' |