From c6f0c50ef0090514a8e554bc89f80cb8030d4156 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 26 Mar 2013 17:19:03 -0300 Subject: go: Correct file name for zsh completions Previously, the completion file was installed as "_go", which by convention means that it will be loaded by compinit.  But this file does not have the #compdef tag, so this doesn't work, and nothing in the file indicates that it is supposed to be used that way. Therefore, install the file under the original name "go" to indicate that you need to load it manually (as the comment in the file suggests). Closes #18752. --- Library/Formula/go.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb index f4cc9b446..90e5bcceb 100644 --- a/Library/Formula/go.rb +++ b/Library/Formula/go.rb @@ -19,7 +19,7 @@ class Go < Formula def install # install the completion scripts bash_completion.install 'misc/bash/go' => 'go-completion.bash' - zsh_completion.install 'misc/zsh/go' => '_go' + zsh_completion.install 'misc/zsh/go' => 'go' if build.include? 'cross-compile-all' targets = [ -- cgit v1.2.3