mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
29 lines
768 B
Markdown
29 lines
768 B
Markdown
zsh-syntax-highlighting
|
|
=======================
|
|
|
|
Enhanced highlighting of the [Zsh](http://www.zsh.org) command-line, including syntax, paths, files, selected regions, searched patterns and much more.
|
|
|
|

|
|
|
|
|
|
How to install
|
|
--------------
|
|
|
|
* Download the script or clone this repository:
|
|
|
|
git clone git://github.com/jimmijj/zsh-syntax-highlighting.git
|
|
|
|
* Source the script **at the end** of `~/.zshrc`:
|
|
|
|
source /path/to/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|
|
* Source `~/.zshrc` to take changes into account:
|
|
|
|
source ~/.zshrc
|
|
|
|
How to tweak
|
|
------------
|
|
|
|
Syntax highlighting is done by pluggable highlighter scripts, see the [highlighters directory](highlighters)
|
|
for documentation and configuration settings.
|