From ccb6391efab8764bf71e08b765f4d3bf3d12ba0f Mon Sep 17 00:00:00 2001 From: "Mario P. Cardenas" <15961362+Mario-paul@users.noreply.github.com> Date: Wed, 18 Aug 2021 01:26:20 -0400 Subject: [PATCH] add debian / ubuntu instructions to source .zshrc file after package install --- INSTALL.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 48b724f..7099696 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -32,6 +32,14 @@ How to install See also [repology's cross-distro index](https://repology.org/metapackage/zsh-syntax-highlighting/versions) +We need to tell the shell that we want to use zsh-syntax-highlighting. + +On Debian and derivatives (Ubuntu, Mint, etc.): +```zsh +echo "source /usr/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).\ +Note the `source` command must be **at the end** of `~/.zshrc`. ### In your ~/.zshrc