diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2002-03-19 14:49:16 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2002-03-19 14:49:16 +0000 |
commit | 40c30874616c374f207ce79b98f8dd61a3911784 (patch) | |
tree | c3be5eab03ecc673054cfcbdabf1cef6f6830c0e | |
parent | c4bc7124328cf4edd7b12b2ffe37e2fb108db864 (diff) | |
download | zsh-40c30874616c374f207ce79b98f8dd61a3911784.tar.gz zsh-40c30874616c374f207ce79b98f8dd61a3911784.tar.xz zsh-40c30874616c374f207ce79b98f8dd61a3911784.zip |
correct my mistake which broke file completion after grep
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_grep | 2 |
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 |