mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
docs: add Mac OS X echo command for sourcing the script on INSTALL.md
This commit is contained in:
parent
7cd3b9c3a4
commit
b746e224c5
@ -50,7 +50,9 @@ Second, enable zsh-syntax-highlighting by sourcing the script. Running this comm
|
|||||||
|
|
||||||
* Mac OS X / Homebrew:
|
* Mac OS X / Homebrew:
|
||||||
|
|
||||||
*Location of script to be sourced is unknown. If you know, please submit a documentation patch/issue.*
|
```zsh
|
||||||
|
echo "source $(brew --prefix)/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).
|
Then restart zsh (such as by opening a new instance of your terminal emulator).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user