adding source-highlight plugin

This commit is contained in:
Locojay 2011-06-14 22:02:17 -04:00
commit e30d3abf94
3 changed files with 6 additions and 1 deletions

View file

@ -2,5 +2,6 @@
git submodule init
git submodule update
sudo brew install autojump
sudo brew install source-highlight
f=$(pwd)
ln -Fs $f"/zshrc" ~/.zshrc

View file

@ -0,0 +1,4 @@
if [ -f `/usr/local/bin/src-hilite-lesspipe.sh`]; then
export LESSOPEN="| /usr/local/bin/src-hilite-lesspipe.sh %s"
export LESS=' -R '
fi

2
zshrc
View file

@ -22,7 +22,7 @@ export ZSH_THEME="nicoulaj"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git git-flow gem brew vi-mode pip osx syntax-highlighting extract autojump virtualenvwrapper)
plugins=(git git-flow gem brew vi-mode pip osx syntax-highlighting extract autojump virtualenvwrapper source-highlight)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...