zsh-syntax-highlighting: remove non-Homebrew-specific caveats.

master
Mike McQuaid 2017-02-21 17:36:04 +00:00
parent 8da7bad64d
commit 289f864eca
1 changed files with 1 additions and 7 deletions

View File

@ -20,16 +20,10 @@ class ZshSyntaxHighlighting < Formula
def caveats def caveats
<<-EOS.undent <<-EOS.undent
To activate the syntax highlighting, add the following at the end of your .zshrc: To activate the syntax highlighting, add the following at the end of your .zshrc:
source #{HOMEBREW_PREFIX}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source #{HOMEBREW_PREFIX}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
You will also need to force reload of your .zshrc: If you receive "highlighters directory not found" error message,
source ~/.zshrc
Additionally, if you receive "highlighters directory not found" error message,
you may need to add the following to your .zshenv: you may need to add the following to your .zshenv:
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=#{HOMEBREW_PREFIX}/share/zsh-syntax-highlighting/highlighters export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=#{HOMEBREW_PREFIX}/share/zsh-syntax-highlighting/highlighters
EOS EOS
end end