summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_grep2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e6f41a169..e4ae4325b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-03-19  Oliver Kiddle  <opk@zsh.org>
 
+	* unposted: Completion/Unix/Command/_grep: argument to -C must
+	be in the same word and correct mistake on file completion
+
 	* 16862: zshconfig.ac, Src/builtin.c: allow print's -s and -z
 	options to be used with -f
 
diff --git a/Completion/Unix/Command/_grep b/Completion/Unix/Command/_grep
index 6d39c1ae0..7df73f7d7 100644
--- a/Completion/Unix/Command/_grep
+++ b/Completion/Unix/Command/_grep
@@ -11,7 +11,7 @@ if [[ $service = *GREP_OPT* ]]; then
 else
   arguments=(
     '(-e --regexp -f --file)1: :_guard "^--*" pattern'
-    '*:files:->files'
+    '*:files:_files'
   )
   command="$words[1]"
 fi