2010-12-25 17:47:12 +00:00
|
|
|
zsh-syntax-highlighting
|
|
|
|
=======================
|
|
|
|
|
|
|
|
An attempt at providing [Fish shell](http://www.fishshell.org) like syntax highlighting for [Zsh](http://www.zsh.org).
|
|
|
|
|
2010-12-30 15:35:55 +00:00
|
|
|
|
2010-12-25 17:47:12 +00:00
|
|
|
## Usage
|
|
|
|
|
2010-12-30 15:35:55 +00:00
|
|
|
|
|
|
|
### From your ~/.zshrc
|
|
|
|
|
2010-12-25 21:10:50 +00:00
|
|
|
Download the script or clone this repository:
|
|
|
|
|
|
|
|
git clone git://github.com/nicoulaj/zsh-syntax-highlighting.git
|
|
|
|
|
|
|
|
Update your `~/.zshrc` so that the script is sourced:
|
|
|
|
|
|
|
|
source /path/to/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|
|
|
|
|
|
Re-open your terminal, or just reload it to take changes into account:
|
|
|
|
|
|
|
|
source ~/.zshrc
|
|
|
|
|
2010-12-25 17:47:12 +00:00
|
|
|
|
2010-12-30 15:35:55 +00:00
|
|
|
### With [oh-my-zsh](http://github.com/robbyrussell/oh-my-zsh)
|
|
|
|
|
|
|
|
Download the script or clone this repository as a oh-my-zsh plugin:
|
|
|
|
|
|
|
|
cd ~/.oh-my-zsh/plugins/
|
|
|
|
git clone git://github.com/nicoulaj/zsh-syntax-highlighting.git
|
|
|
|
cd zsh-syntax-highlighting
|
|
|
|
ln -s zsh-syntax-highlighting.zsh zsh-syntax-highlighting.plugin.zsh
|
|
|
|
|
|
|
|
Update your `~/.zshrc` so that the script is sourced:
|
|
|
|
|
|
|
|
plugins=(zsh-syntax-highlighting)
|
|
|
|
|
|
|
|
Re-open your terminal, or just reload it to take changes into account:
|
|
|
|
|
|
|
|
source ~/.zshrc
|
|
|
|
|
|
|
|
|
2010-12-25 17:47:12 +00:00
|
|
|
## References
|
|
|
|
|
|
|
|
* [zsh-users mailing list thread](http://www.zsh.org/mla/users/2010/msg00692.html)
|
|
|
|
* [Gist 586698](http://gist.github.com/586698) and forks
|
|
|
|
|
2010-12-30 15:35:55 +00:00
|
|
|
|
2010-12-25 17:47:12 +00:00
|
|
|
## Authors / Greetings
|
|
|
|
|
|
|
|
* [Roy Zuo](http://github.com/roylez)
|
|
|
|
* [Julien Nicoulaud](http://github.com/nicoulaj)
|
|
|
|
* [Dave Ingram](http://github.com/dingram)
|
|
|
|
* [Mounier Florian](http://github.com/paradoxxxzero)
|
2010-12-25 18:12:58 +00:00
|
|
|
* [Jonathan Dahan](http://github.com/jedahan)
|
2010-12-25 17:47:12 +00:00
|
|
|
* James Ahlborn
|
2010-12-25 19:51:55 +00:00
|
|
|
* [Andreas Jaggi](http://github.com/x-way)
|
2010-12-25 21:03:27 +00:00
|
|
|
* [Wayne Davison](http://github.com/WayneD)
|
2010-12-30 15:20:43 +00:00
|
|
|
* [Suraj N. Kurapati](http://github.com/sunaku)
|
2010-12-31 01:07:24 +00:00
|
|
|
* [Takeshi Banse](http://github.com/hchbaw)
|
|
|
|
|