From 557827626feb67fdf7cc9f3714681e4fd1910cef Mon Sep 17 00:00:00 2001 From: Samuel Cochran Date: Mon, 3 Dec 2012 12:16:46 +0800 Subject: go: Install zsh completions Closes #16364. Signed-off-by: Adam Vandenberg --- Library/Formula/go.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 = [ -- cgit v1.2.3