aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authortamird2012-08-19 09:00:47 -0700
committerAdam Vandenberg2012-08-22 20:56:01 -0700
commit11530d26628632e6d981b9fb671c3bd6899fd10b (patch)
tree41f83d0b2dbdcc152663d964c36a134b27e018cc /Library/Formula
parent6fd746ac7415407fee682bc8b2235108a2a50a1c (diff)
downloadhomebrew-11530d26628632e6d981b9fb671c3bd6899fd10b.tar.bz2
go: install bash completion
Closes #14287. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/go.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index 50607b5c6..fe7dc0cfa 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -11,6 +11,9 @@ class Go < Formula
skip_clean 'bin'
def install
+ # install the completion script
+ (prefix/'etc/bash_completion.d').install 'misc/bash/go' => 'go-completion.bash'
+
prefix.install Dir['*']
cd prefix do