zsh: remove caveat about online help

Setting HELPDIR to #{HOMEBREW_PREFIX}/share/zsh/help is pointless
because it points to #{prefix}/share/zsh/help by default which is even
more reliable than the symlink. Without the Homebrew-specific path (the
only thing that remotely justifies this caveat), it makes no sense to
mention this topic in caveats at all; otherwise there are a million
things of equal or more importance that could be mentioned. Users should
be expected to RTFM:
http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#Accessing-On_002dLine-Help.

Closes #7500.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Zhiming Wang 2016-12-03 00:21:11 -05:00 committed by Mike McQuaid
parent 3e43c3d24c
commit 56970919f0

View file

@ -97,10 +97,6 @@ class Zsh < Formula
def caveats; <<-EOS.undent
In order to use this build of zsh as your login shell,
it must be added to /etc/shells.
Add the following to your zshrc to access the online help:
unalias run-help
autoload run-help
HELPDIR=#{HOMEBREW_PREFIX}/share/zsh/help
EOS
end