diff options
author | Marius Ghita <mhitza@gmail.com> | 2011-06-15 01:17:22 +0300 |
---|---|---|
committer | Marius Ghita <mhitza@gmail.com> | 2011-06-15 01:17:22 +0300 |
commit | 527355eae3c8b019ce203c38b6aa5ffd818c3640 (patch) | |
tree | 1fb45db7ad6978d2d60e5b61f4a73e3aeba9abd2 /oh-my-zsh.sh | |
parent | ed990f61ff66a5c409ef2d8a444820cecf098188 (diff) | |
download | zsh-527355eae3c8b019ce203c38b6aa5ffd818c3640.tar.gz zsh-527355eae3c8b019ce203c38b6aa5ffd818c3640.tar.bz2 zsh-527355eae3c8b019ce203c38b6aa5ffd818c3640.zip |
When the theme choice is left out, oh-my-zsh will not try to load it
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r-- | oh-my-zsh.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index d72d90cf9..c4522491b 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -43,6 +43,9 @@ then source "$RANDOM_THEME" echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..." else - source "$ZSH/themes/$ZSH_THEME.zsh-theme" + if [ ! "$ZSH_THEME" = "" ] + then + source "$ZSH/themes/$ZSH_THEME.zsh-theme" + fi fi |