From 961b42af3a2a41f8dab2dd63613c5d5ddf8efedc Mon Sep 17 00:00:00 2001 From: Envixty <114357508+redkittty@users.noreply.github.com> Date: Thu, 21 Mar 2024 20:47:44 -0400 Subject: [PATCH] Update INSTALL.md - replaced ./ with ~/ to reduce bloat, this is because ./ would look in the current folder while ~/ looks in the home folder - Made the command after git clone optional due to not needing it to install without a plugin manager --- INSTALL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 2e1286d..4f58bd7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -71,13 +71,17 @@ Simply clone this repository and source the script: ```zsh git clone https://github.com/zsh-users/zsh-syntax-highlighting.git +``` + +Optional: +```zsh echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc ``` Then, enable syntax highlighting in the current interactive shell: ```zsh -source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source ~/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ``` If `git` is not installed, download and extract a snapshot of the latest