From 170c078440b02a3fed1ed1d5c3723491ea83fb9b Mon Sep 17 00:00:00 2001 From: dana Date: Thu, 6 Jul 2017 13:27:55 -0500 Subject: [PATCH] Add `-f` to completions --- complete/_rg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/complete/_rg b/complete/_rg index 7712f113b..a29debaeb 100644 --- a/complete/_rg +++ b/complete/_rg @@ -75,7 +75,7 @@ less_common_options=( '--context-separator=[specify string used to separate non-continuous context lines in output]:separator string' '--debug[show debug messages]' '--dfa-size-limit=[specify upper size limit of generated DFA]:DFA size' - "--file=[specify file containing patterns to search for]:file:_files" + '*'{-f,--file=}'[specify file containing patterns to search for]:file:_files' "--ignore-file=[specify additional ignore file]:file:_files" "--files[show each file that would be searched (but don't search)]" '(-l --files-with-matches --files-without-match)'{-l,--files-with-matches}'[only show names of files with matches]'