aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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 = [