go: Install zsh completions
Closes Homebrew/homebrew#16364. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
8916df8306
commit
33994375a7
1 changed files with 2 additions and 1 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue