mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
1.3 KiB
1.3 KiB
zsh-syntax-highlighting
Fork of https://github.com/nicoulaj/zsh-syntax-highlighting for separate files with defaults overrides.
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/paradoxxxzero/zsh-syntax-highlighting.git
Update your ~/.zshrc
so that the script is sourced:
for file in /path/to/zsh-syntax-highlighting/*.zsh;
do
source $file
done
Re-open your terminal, or just reload it to take changes into account:
source ~/.zshrc
References
- zsh-users mailing list thread
- Gist 586698 and forks