2010-12-25 12:47:12 -05: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 10:35:55 -05:00
|
|
|
|
2010-12-25 12:47:12 -05:00
|
|
|
## Usage
|
|
|
|
|
2010-12-30 10:35:55 -05:00
|
|
|
|
|
|
|
### From your ~/.zshrc
|
|
|
|
|
2010-12-25 16:10:50 -05: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 12:47:12 -05:00
|
|
|
|
2010-12-30 10:35:55 -05: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 12:47:12 -05: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 10:35:55 -05:00
|
|
|
|
2010-12-25 12:47:12 -05: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 13:12:58 -05:00
|
|
|
* [Jonathan Dahan](http://github.com/jedahan)
|
2010-12-25 12:47:12 -05:00
|
|
|
* James Ahlborn
|
2010-12-25 14:51:55 -05:00
|
|
|
* [Andreas Jaggi](http://github.com/x-way)
|
2010-12-25 16:03:27 -05:00
|
|
|
* [Wayne Davison](http://github.com/WayneD)
|
2010-12-30 10:20:43 -05:00
|
|
|
* [Suraj N. Kurapati](http://github.com/sunaku)
|