summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_grep
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-03-16 22:12:48 +0100
committerOliver Kiddle <opk@zsh.org>2023-03-16 22:12:48 +0100
commitea229be4cfb6a734938648df4322fc4473e1712e (patch)
tree0e344de8b305851277c7cc255441344e7fbcfa11 /Completion/Unix/Command/_grep
parent4b7a9fd0ecb750646cac76c41383f8391cd0fdd9 (diff)
downloadzsh-ea229be4cfb6a734938648df4322fc4473e1712e.tar.gz
zsh-ea229be4cfb6a734938648df4322fc4473e1712e.zip
51581: update completions to cover changes in OpenBSD 7.2
Diffstat (limited to 'Completion/Unix/Command/_grep')
-rw-r--r--Completion/Unix/Command/_grep3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_grep b/Completion/Unix/Command/_grep
index 2dcbff4a3..0f1e712fd 100644
--- a/Completion/Unix/Command/_grep
+++ b/Completion/Unix/Command/_grep
@@ -89,7 +89,7 @@ case $variant:$OSTYPE in
;|
gpl2:(freebsd|darwin)*)
arguments+=(
- '(--null --no-filename -h)--null[print 0 byte after each filename]'
+ '(--no-filename -h)--null[print 0 byte after each filename]'
'(-Z --decompress -J --bz2decompress)'{-J,--bz2decompress}"[decompress bzip2'ed input before searching]"
'(-Z --decompress -J --bz2decompress)'{-Z,--decompress}"[decompress gzip'ed input before searching]"
)
@@ -129,6 +129,7 @@ case $variant:$OSTYPE in
arguments=(
${(M)arguments:#((#s)|*\))--(context|binary-files|line-buffered|label|max-count)*}
${${arguments:#((#s)|*\))(\*|)-[d-]*}/\)-r/\)-R}
+ '(-h)--null[print 0 byte after each filename]'
"-U[search binary files but don't print them]"
'-Z[behave as zgrep]'
)