From f95fc550e8dd48825b076d9546306bddc022db54 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Wed, 25 Jan 2012 15:34:29 -0500 Subject: [PATCH] Add support for oh-my-zsh by sorin-ionescu --- README.md | 17 ++++++++++++++++- init.zsh | 1 + 2 files changed, 17 insertions(+), 1 deletion(-) create mode 120000 init.zsh diff --git a/README.md b/README.md index 9f47020..f87ce5e 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,22 @@ How to install plugins=( [plugins...] zsh-syntax-highlighting) * 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 diff --git a/init.zsh b/init.zsh new file mode 120000 index 0000000..cc95cd4 --- /dev/null +++ b/init.zsh @@ -0,0 +1 @@ +zsh-syntax-highlighting.zsh \ No newline at end of file