mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 22:54:59 +08:00
Update README.md
This commit is contained in:
parent
ac08417b74
commit
7cd5e6c796
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
|
@ -79,3 +79,18 @@
|
|||
3. Start a new terminal session.
|
||||
|
||||
|
||||
## Syntax highlighting
|
||||
|
||||
```
|
||||
brew install zsh-syntax-highlighting
|
||||
```
|
||||
|
||||
If you do not have or do not like homebrew, follow [the installation instructions](https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md) instead.
|
||||
|
||||
After installation, add the following line
|
||||
|
||||
```
|
||||
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
```
|
||||
|
||||
to **the end** of your `.zshrc` file. After that, it's best to restart your terminal. Sourcing your `~/.zshrc` does not seem to work well with this plugin.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue