Fish shell like syntax highlighting for Zsh.
Go to file
2010-12-30 16:35:55 +01:00
README.md Issue 7: Add instructions for using with oh-my-zsh 2010-12-30 16:35:55 +01:00
zsh-syntax-highlighting.zsh Issue 8: Trigger highlighting on magic-space (thanks to sunaku) 2010-12-30 16:20:43 +01:00

zsh-syntax-highlighting

An attempt at providing Fish shell like syntax highlighting for Zsh.

Usage

From your ~/.zshrc

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

With 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

References

Authors / Greetings