zsh-syntax-highlighting: remove non-Homebrew-specific caveats.
parent
8da7bad64d
commit
289f864eca
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue