diff options
| author | Andrey Borzenkov <bor@users.sourceforge.net> | 2009-12-14 16:53:34 +0000 |
|---|---|---|
| committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2009-12-14 16:53:34 +0000 |
| commit | d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c (patch) | |
| tree | f64290e7a6adedf4e6b7873b69218a88b632310b | |
| parent | Alexey I. Froloff: 27470: _git update (diff) | |
| download | zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar.gz zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar.bz2 zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar.lz zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar.xz zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.tar.zst zsh-d9c5241fc54c0a7ba3d4d95a8deb5e47a1ca572c.zip | |
unposted: add --exclude-dir grep option
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | Completion/Unix/Command/_grep | 1 |
2 files changed, 7 insertions, 1 deletions
@@ -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]' |
