about summary refs log tree commit diff
path: root/Completion/Unix
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 /Completion/Unix
parentc7767889b010c0cbebd58811e8932a64ea23d8dc (diff)
downloadzsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar.gz
zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar.xz
zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.zip
unposted: add --exclude-dir grep option
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_grep1
1 files changed, 1 insertions, 0 deletions
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]'