diff options
author | fceccon <francesco@ceccon.me> | 2011-09-20 12:04:06 +0200 |
---|---|---|
committer | fceccon <francesco@ceccon.me> | 2011-09-20 12:04:06 +0200 |
commit | 2ca2ad3fc5b8635b22d33fd0f1c1511f44e9fff8 (patch) | |
tree | 37da08f72508f91067f1694d621c619f4087b544 /oh-my-zsh.sh | |
parent | 762b55bb2bc0452ce3f5f2f21bc22b61936ef704 (diff) | |
download | zsh-2ca2ad3fc5b8635b22d33fd0f1c1511f44e9fff8.tar.gz zsh-2ca2ad3fc5b8635b22d33fd0f1c1511f44e9fff8.tar.bz2 zsh-2ca2ad3fc5b8635b22d33fd0f1c1511f44e9fff8.zip |
First search in the custom folder for the theme
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r-- | oh-my-zsh.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index c4522491b..6ab2ba35f 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -45,7 +45,12 @@ then else if [ ! "$ZSH_THEME" = "" ] then - source "$ZSH/themes/$ZSH_THEME.zsh-theme" + if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ] + then + source "$ZSH/custom/$ZSH_THEME.zsh-theme" + else + source "$ZSH/themes/$ZSH_THEME.zsh-theme" + fi fi fi |