diff options
author | dana <dana@dana.is> | 2018-08-26 23:58:58 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-08-27 07:56:40 -0400 |
commit | d599f0b3c7abcce0829c053fbf9ac997844fc3d8 (patch) | |
tree | 099fb7f161649a9a7bac05cc86f44c56eb062d90 | |
parent | 40e310a9f9e21929acb5b0eb364ffad51df80608 (diff) |
complete: don't complete bare pattern after -f
-rw-r--r-- | complete/_rg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/complete/_rg b/complete/_rg index a3406471..e35b60df 100644 --- a/complete/_rg +++ b/complete/_rg @@ -71,7 +71,7 @@ _rg() { $no'--no-encoding[use default text encoding]' + file # File-input options - '*'{-f+,--file=}'[specify file containing patterns to search for]: :_files' + '(1)*'{-f+,--file=}'[specify file containing patterns to search for]: :_files' + '(file-match)' # Files with/without match options '(stats)'{-l,--files-with-matches}'[only show names of files with matches]' |