aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorPeter Eisentraut2013-03-26 17:19:03 -0300
committerAdam Vandenberg2013-06-09 08:33:58 -0700
commitc6f0c50ef0090514a8e554bc89f80cb8030d4156 (patch)
tree88de6e401d93952f7dc1ba0a0b74a2af69b8a269 /Library/Formula
parentb0e6223e2e10ab8e3f77c16a27ea1a4806bbea77 (diff)
downloadhomebrew-c6f0c50ef0090514a8e554bc89f80cb8030d4156.tar.bz2
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.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/go.rb2
1 files changed, 1 insertions, 1 deletions
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 = [