mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
docs: revise changes on INSTALL.md
This commit is contained in:
parent
c34dd4a471
commit
def4df4491
@ -39,20 +39,18 @@ Second, enable zsh-syntax-highlighting by sourcing the script. Running this comm
|
||||
* On most Linux distributions (except perhaps NixOS):
|
||||
|
||||
```zsh
|
||||
echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ${ZDOTDIR:-$HOME}/.zshrc
|
||||
echo "source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
|
||||
```
|
||||
|
||||
* NetBSD and OpenBSD:
|
||||
|
||||
```zsh
|
||||
echo "source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ${ZDOTDIR:-$HOME}/.zshrc
|
||||
echo "source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
|
||||
```
|
||||
|
||||
* Mac OS X / Homebrew:
|
||||
|
||||
```
|
||||
script location for source is unknown. If you do, please submit a documentation patch/issue.
|
||||
```
|
||||
*Location of script to be sourced is unknown. If you know, please submit a documentation patch/issue.*
|
||||
|
||||
Then restart zsh (such as by opening a new instance of your terminal emulator).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user