about summary refs log tree commit diff
path: root/Completion/Unix/Command/_grep
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-08-06 16:10:45 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-08-06 16:10:45 +0000
commit5b523f44628cba8a827d34c69d743469cef65b76 (patch)
treed4389f84860cfe4f99d4611f7b186941d4bc1bae /Completion/Unix/Command/_grep
parent9c5a1ba117eedc2ac2fca7f2ce0fc54d0c2a1b36 (diff)
downloadzsh-5b523f44628cba8a827d34c69d743469cef65b76.tar.gz
zsh-5b523f44628cba8a827d34c69d743469cef65b76.tar.xz
zsh-5b523f44628cba8a827d34c69d743469cef65b76.zip
correct mistake with 15574
Diffstat (limited to 'Completion/Unix/Command/_grep')
-rw-r--r--Completion/Unix/Command/_grep2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_grep b/Completion/Unix/Command/_grep
index 64dd5cb4e..3b3e01ef3 100644
--- a/Completion/Unix/Command/_grep
+++ b/Completion/Unix/Command/_grep
@@ -57,7 +57,7 @@ arguments=( $arguments[@]
 
 # remove long options?
 [[ -z "$_is_gnu[$words[1]]" ]] &&
-    arguments=( ${${${arguments:#(|*\)(\*|))--*}//--[^ )]#/}/\( #\)/} )
+    arguments=( ${arguments:#(|*\)(\*|))--*} )
 
 _arguments -s $arguments[@]