dotfiles

Author: Kyle Fuller <inbox@kylefuller.co.uk> 2011-07-10 19:45:53 +0100 +0100
Committer: Kyle Fuller <inbox@kylefuller.co.uk> 2011-07-10 19:45:53 +0100 +0100
Commit: 897275033eb2da45d10d85940d01b85150131252
Parent: ba4e970ce62010b93d1bb6281a66e6b537c61282


Only source oh-my-zsh if we are running a zsh shell
diff --git a/rc b/rc
index 53cd73c338ad202b465b2cd7a6bf274c11f37f85..4fa30300991d6bb1a637e536cb648586f90b1632 100644
--- a/rc
+++ b/rc
@@ -33,7 +33,7 @@   [[ -d "$HOME/.ssh/.git" ]] && (cd $HOME/.ssh && git pull origin master)
   reload
 }
 
-if [ -r ~/.oh-my-zsh ] ; then
+if [ "$SHELL" = "/bin/zsh" ] && [ -s ~/.oh-my-zsh/oh-my-zsh.sh ] ; then
   # Path to your oh-my-zsh configuration.
   export ZSH=$HOME/.oh-my-zsh
   export ZSH_THEME="jreese"