mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-06-05 12:36:30 +08:00
32 lines
911 B
Markdown
32 lines
911 B
Markdown
zsh-syntax-highlighting
|
|
=======================
|
|
|
|
<red>**THIS PROJECT IS NO LONGER MAINTAINED.
|
|
YOU MAY WANT TO TEST ITS SUCCESSOR: [chromatic-zsh](https://github.com/jimmijj/chromatic-zsh).**
|
|
|
|
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.
|