about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2009-12-14 16:53:34 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2009-12-14 16:53:34 +0000
commitd9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c (patch)
treef64290e7a6adedf4e6b7873b69218a88b632310b
parentc7767889b010c0cbebd58811e8932a64ea23d8dc (diff)
downloadzsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar.gz
zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar.xz
zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.zip
unposted: add --exclude-dir grep option
-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]'