From 40c30874616c374f207ce79b98f8dd61a3911784 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 19 Mar 2002 14:49:16 +0000 Subject: [PATCH] correct my mistake which broke file completion after grep --- ChangeLog | 3 +++ Completion/Unix/Command/_grep | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e6f41a169..e4ae4325b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-03-19 Oliver Kiddle + * 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