summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_grep1
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f6754b6f..3817187e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-14  Andrey Borzenkov <bor@zsh.org>
+
+	* unposted: Completion/Unix/Command/_grep:
+	add --exclude-dir option
+
 2009-12-13  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Alexey I. Froloff: 27470: Completion/Unix/Command/_git:
@@ -12482,5 +12487,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4841 $
+* $Revision: 1.4842 $
 *****************************************************
diff --git a/Completion/Unix/Command/_grep b/Completion/Unix/Command/_grep
index 0c0f8b4a2..5068f6e48 100644
--- a/Completion/Unix/Command/_grep
+++ b/Completion/Unix/Command/_grep
@@ -55,6 +55,7 @@ arguments=( $arguments[@]
   '*--include=[examine files matching specified pattern]:file pattern'
   '*--exclude=[skip files matching specified pattern]:file pattern'
   '*--exclude-from=[skip files matching pattern in specified file]:file:_files'
+  '*--exclude-dir=[skip directories matching specified pattern]:directory pattern'
   '(--no-messages -s)'{--no-messages,-s}'[suppress messages about unreadable]'
   '(--version -V)'{--version,-V}'[display version info]'
   '(--invert-match -v)'{--invert-match,-v}'[select non-matching lines]'