z: replace brew --prefix call with fixed path

Closes #7649.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Zhiming Wang 2016-12-07 21:52:55 -05:00 committed by Mike McQuaid
parent 6fb28eff7b
commit 97516b496b

View file

@ -15,7 +15,7 @@ class Z < Formula
def caveats; <<-EOS.undent
For Bash or Zsh, put something like this in your $HOME/.bashrc or $HOME/.zshrc:
. `brew --prefix`/etc/profile.d/z.sh
. #{etc}/profile.d/z.sh
EOS
end
end