mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-02-13 10:05:31 +08:00
Add support for oh-my-zsh by sorin-ionescu
This commit is contained in:
parent
bb0d575942
commit
f95fc550e8
15
README.md
15
README.md
@ -44,6 +44,21 @@ How to install
|
||||
|
||||
source ~/.zshrc
|
||||
|
||||
### With sorin-ionescu's simplified oh-my-zsh
|
||||
|
||||
* Download the script or clone this repository in [sorin's oh-my-zsh](http://github.com/sorin-ionescu/oh-my-zsh) plugins directory:
|
||||
|
||||
cd ~/.oh-my-zsh/custom/plugins
|
||||
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||
|
||||
* Activate the plugin in `~/.zshrc` (in **last** position):
|
||||
|
||||
zstyle ':omz:load' plugin [plugins...] 'zsh-syntax-highlighting'
|
||||
|
||||
* Source `~/.zshrc` to take changes into account:
|
||||
|
||||
source ~/.zshrc
|
||||
|
||||
|
||||
How to tweak
|
||||
------------
|
||||
|
Loading…
Reference in New Issue
Block a user