aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel Cochran2012-12-03 12:16:46 +0800
committerAdam Vandenberg2012-12-02 20:25:29 -0800
commit557827626feb67fdf7cc9f3714681e4fd1910cef (patch)
tree8de0e660342c3785689cec8553c3648de44e5842 /Library
parent98299de432e5735e5fc4d1ddca686a5ad3b565fa (diff)
downloadhomebrew-557827626feb67fdf7cc9f3714681e4fd1910cef.tar.bz2
go: Install zsh completions
Closes #16364. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/go.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index 6de5bab2d..ce2dd24b5 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -14,8 +14,9 @@ class Go < Formula
option 'cross-compile-common', "Build the cross-compilers and runtime support for darwin, linux and windows"
def install
- # install the completion script
+ # install the completion scripts
(prefix/'etc/bash_completion.d').install 'misc/bash/go' => 'go-completion.bash'
+ (share/'zsh/site-functions').install 'misc/zsh/go' => '_go'
if build.include? 'cross-compile-all'
targets = [