diff options
| author | Takatoshi Matsumoto | 2013-01-09 11:15:48 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-08 19:47:03 -0800 |
| commit | 2c0ba3e3d1cb4b8c5e2931797a72d85445411f2a (patch) | |
| tree | 06d8c9d9f217d6b7cb36a77eef52dbf53c8c3d91 /Library/Formula/git.rb | |
| parent | 04bd8a5da1a6843cca924cf8cb6f771a07a211d4 (diff) | |
| download | homebrew-2c0ba3e3d1cb4b8c5e2931797a72d85445411f2a.tar.bz2 | |
git: install zsh completion
Closes #16961.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/git.rb')
| -rw-r--r-- | Library/Formula/git.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index ba46fb2db..6866de811 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -65,9 +65,12 @@ class Git < Formula bin.install 'git-subtree' end - # install the completion script first because it is inside 'contrib' + # install the completion scripts from 'contrib' first (prefix+'etc/bash_completion.d').install 'contrib/completion/git-completion.bash' (prefix+'etc/bash_completion.d').install 'contrib/completion/git-prompt.sh' + + (share+'zsh/site-functions').install 'contrib/completion/git-completion.zsh' => '_git' + (share+'git-core').install 'contrib' # We could build the manpages ourselves, but the build process depends |
