mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
complete: don't complete bare pattern after -f
This commit is contained in:
parent
40e310a9f9
commit
d599f0b3c7
@ -71,7 +71,7 @@ _rg() {
|
|||||||
$no'--no-encoding[use default text encoding]'
|
$no'--no-encoding[use default text encoding]'
|
||||||
|
|
||||||
+ file # File-input options
|
+ 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
|
+ '(file-match)' # Files with/without match options
|
||||||
'(stats)'{-l,--files-with-matches}'[only show names of files with matches]'
|
'(stats)'{-l,--files-with-matches}'[only show names of files with matches]'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user