add debian / ubuntu instructions to source .zshrc file after package install

This commit is contained in:
Mario P. Cardenas 2021-08-18 01:26:20 -04:00
parent dffe304567
commit ccb6391efa

View File

@ -32,6 +32,14 @@ How to install
See also [repology's cross-distro index](https://repology.org/metapackage/zsh-syntax-highlighting/versions) 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 ### In your ~/.zshrc