From b746e224c5ac087fd2890e4fb66154f40cf67eab Mon Sep 17 00:00:00 2001 From: "Mario P. Cardenas" <15961362+Mario-paul@users.noreply.github.com> Date: Sun, 29 Aug 2021 22:06:59 -0400 Subject: [PATCH] docs: add Mac OS X echo command for sourcing the script on INSTALL.md --- INSTALL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 4b7e12a..982b660 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -50,7 +50,9 @@ Second, enable zsh-syntax-highlighting by sourcing the script. Running this comm * Mac OS X / Homebrew: - *Location of script to be sourced is unknown. If you know, please submit a documentation patch/issue.* + ```zsh + echo "source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc + ``` Then restart zsh (such as by opening a new instance of your terminal emulator).