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
17
README.md
17
README.md
@ -41,7 +41,22 @@ How to install
|
|||||||
plugins=( [plugins...] zsh-syntax-highlighting)
|
plugins=( [plugins...] zsh-syntax-highlighting)
|
||||||
|
|
||||||
* Source `~/.zshrc` to take changes into account:
|
* Source `~/.zshrc` to take changes into account:
|
||||||
|
|
||||||
|
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
|
source ~/.zshrc
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user