mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
updated grep completion
added group-seperator options to grep completion distinguished between -r and -R removed deprecated option
This commit is contained in:
parent
fba6da983b
commit
61de39bd68
1 changed files with 4 additions and 3 deletions
|
@ -32,8 +32,8 @@ complete -c grep -l line-buffered -d "Use line buffering"
|
|||
complete -c grep -s P -l perl-regexp -d "Pattern is a Perl regexp (PCRE) string"
|
||||
complete -c grep -s q -l quiet -d "Do not write anything"
|
||||
complete -c grep -l silent -d "Do not write anything"
|
||||
complete -c grep -s R -l recursive -d "Read files under each directory, recursively"
|
||||
complete -c grep -s r -d "Read files under each directory, recursively"
|
||||
complete -c grep -s R -l dereference-recursive -d "Recursively read files under each directory, following symlinks"
|
||||
complete -c grep -s r -l recursive -d "Recursively read files under each directory"
|
||||
complete -c grep -l include -d "Search only files matching PATTERN" -r
|
||||
complete -c grep -l exclude -d "Skip files matching PATTERN" -r
|
||||
complete -c grep -s s -l no-messages -d "Suppress error messages"
|
||||
|
@ -44,6 +44,7 @@ complete -c grep -s V -l version -d "Display version and exit"
|
|||
complete -c grep -s v -l invert-match -d "Invert the sense of matching"
|
||||
complete -c grep -s w -l word-regexp -d "Only whole matching words"
|
||||
complete -c grep -s x -l line-regexp -d "Only whole matching lines"
|
||||
complete -c grep -s y -d "Ignore case (deprecated: use -i instead)"
|
||||
complete -c grep -s z -l null-data -d "Treat input as a set of zero-terminated lines"
|
||||
complete -c grep -s Z -l null -d "Output a zero byte after filename"
|
||||
complete -c grep -l group-separator -x -d "Set a group separator"
|
||||
complete -c grep -l no-group-separator -d "Use empty string as a group separator"
|
||||
|
|
Loading…
Reference in a new issue