diff options
| author | Christian HoĢltje | 2012-04-29 03:39:31 -0400 |
|---|---|---|
| committer | Jack Nagel | 2012-05-02 23:43:51 -0500 |
| commit | 7be079015efbba904b1b53b33c755013abcc53b1 (patch) | |
| tree | aadb4321d5a1c9c110162293ac48bf944755fd94 /Library/Formula | |
| parent | 1414a25eede87b9cf852439d698877375f15bc15 (diff) | |
| download | homebrew-7be079015efbba904b1b53b33c755013abcc53b1.tar.bz2 | |
git-now: install completion into site-functions
`_git-now` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
This will enable homebrew's zsh to automatically use the completion.
See issue #11936 for details.
Closes #11940.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/git-now.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/git-now.rb b/Library/Formula/git-now.rb index 76a072944..8e3327d71 100644 --- a/Library/Formula/git-now.rb +++ b/Library/Formula/git-now.rb @@ -15,12 +15,12 @@ class GitNow < Formula def install system "make", "prefix=#{prefix}", "install" - (share+'zsh/functions').install 'etc/_git-now' + (share+'zsh/site-functions').install 'etc/_git-now' end def caveats; <<-EOS.undent Zsh completion has been installed to: - #{share}/zsh/functions + #{HOMEBREW_PREFIX}/zsh/site-functions EOS end end |
