Skip to content

Commit

Permalink
complete: don't complete bare pattern after -f
Browse files Browse the repository at this point in the history
  • Loading branch information
okdana authored and BurntSushi committed Aug 27, 2018
1 parent 40e310a commit d599f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion complete/_rg
Expand Up @@ -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]'
Expand Down

0 comments on commit d599f0b

Please sign in to comment.