mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
add debian / ubuntu instructions to source .zshrc file after package install
This commit is contained in:
parent
dffe304567
commit
ccb6391efa
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user