From c3454b48a7014703efd271feffe37e3035b89f7d Mon Sep 17 00:00:00 2001 From: "Suraj N. Kurapati" Date: Mon, 27 Dec 2010 21:39:33 -0800 Subject: [PATCH] Make this script usable as an oh-my-zsh plugin. --- README.md | 16 +++++++++++++++- ...ing.zsh => zsh-syntax-highlighting.plugin.zsh | 0 2 files changed, 15 insertions(+), 1 deletion(-) rename zsh-syntax-highlighting.zsh => zsh-syntax-highlighting.plugin.zsh (100%) 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