diff --git a/README.md b/README.md index b94aff5..ec6e846 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,26 @@ Download the script or clone this repository: Update your `~/.zshrc` so that the script is sourced: - source /path/to/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + source /path/to/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh Re-open your terminal, or just reload it to take changes into account: source ~/.zshrc +## Usage with oh-my-zsh + +Download the script or clone this repository: + + cd ~/.oh-my-zsh/plugins/ + git clone git://github.com/nicoulaj/zsh-syntax-highlighting.git + +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 diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.plugin.zsh similarity index 100% rename from zsh-syntax-highlighting.zsh rename to zsh-syntax-highlighting.plugin.zsh