1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

correct my mistake which broke file completion after grep

This commit is contained in:
Oliver Kiddle 2002-03-19 14:49:16 +00:00
parent c4bc712432
commit 40c3087461
2 changed files with 4 additions and 1 deletions

@ -1,5 +1,8 @@
2002-03-19 Oliver Kiddle <opk@zsh.org> 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 * 16862: zshconfig.ac, Src/builtin.c: allow print's -s and -z
options to be used with -f options to be used with -f

@ -11,7 +11,7 @@ if [[ $service = *GREP_OPT* ]]; then
else else
arguments=( arguments=(
'(-e --regexp -f --file)1: :_guard "^--*" pattern' '(-e --regexp -f --file)1: :_guard "^--*" pattern'
'*:files:->files' '*:files:_files'
) )
command="$words[1]" command="$words[1]"
fi fi