diff zshrc @ 3:d31291a406ed

look for oh-my-zsh in a system wide folder
author Dirk Olmes <dirk.olmes@exentra.de>
date Mon, 28 Nov 2011 16:01:49 +0100
parents e12c50e8ea8c
children ff5e785e7bf7 4263bbc594fe
line wrap: on
line diff
--- a/zshrc	Mon Nov 28 15:29:02 2011 +0100
+++ b/zshrc	Mon Nov 28 16:01:49 2011 +0100
@@ -3,7 +3,11 @@
 #
 
 if [ -d $HOME/.oh-my-zsh ]; then
+	ZSH=$HOME/.oh-my-zsh
     . $HOME/.zsh-env/oh-my-zsh
+elif [ -d /var/lib/zsh/oh-my-zsh ]; then
+	ZSH=/var/lib/zsh/oh-my-zsh
+	. $HOME/.zsh-env/oh-my-zsh
 fi
 
 # get rid of some unwanted aliases from the oh-my-zsh env