From 162c8264525f7479b58f3ada7d4ac2b26e0bbcd0 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 12 May 2016 13:29:10 +0000 Subject: [PATCH] docs: Honour $ZDOTDIR in code examples. Keep references in prose as '~/.zshrc': using $ZDOTDIR in that context would be confusing, and people who set $ZDOTDIR understand these references. --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 94d4fca..8f322e1 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -22,7 +22,7 @@ How to install Simply clone this repository and source the script: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git - echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc + echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc Then, enable syntax highlighting in the current interactive shell: