From c34dd4a47123c079e4f69d941529c3b7683a6bb8 Mon Sep 17 00:00:00 2001 From: "Mario P. Cardenas" <15961362+Mario-paul@users.noreply.github.com> Date: Sun, 22 Aug 2021 13:32:33 -0400 Subject: [PATCH] docs: mac OS X info isolated until source location can be confirmed - INSTALL.md --- INSTALL.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index b12352b..f19099b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -42,19 +42,25 @@ Second, enable zsh-syntax-highlighting by sourcing the script. Running this comm echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ${ZDOTDIR:-$HOME}/.zshrc ``` -* Mac OS X / Homebrew, NetBSD and OpenBSD: +* NetBSD and OpenBSD: ```zsh echo "source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ${ZDOTDIR:-$HOME}/.zshrc ``` +* Mac OS X / Homebrew: + +``` +script location for source is unknown. If you do, please submit a documentation patch/issue. +``` + Then restart zsh (such as by opening a new instance of your terminal emulator). If your .zshrc file is somewhere other than `/home`, or if above the command fails, add the `source` command manually **at the end** of your `.zshrc`: * On most Linux distributions (except perhaps NixOS): `source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh` -* Mac OS X / Homebrew, NetBSD and OpenBSD: +* NetBSD and OpenBSD: `source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh` Then restart zsh.