2ca2ad3fc5b8635b22d33fd0f1c1511f44e9fff8
- Author
- fceccon <francesco@ceccon.me>
- Committer
- fceccon <francesco@ceccon.me>
- Date
Message
First search in the custom folder for the theme
Diff
1diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh
2index c4522491bc083f1cade6207432a4f4e62c6d009c..6ab2ba35f3f0dac438c0ed8c5c4dc336d60acc68 100644
3--- a/oh-my-zsh.sh
4+++ b/oh-my-zsh.sh
5@@ -45,7 +45,12 @@ then
6 else
7 if [ ! "$ZSH_THEME" = "" ]
8 then
9- source "$ZSH/themes/$ZSH_THEME.zsh-theme"
10+ if [ -f "$ZSH/custom/$ZSH_THEME.zsh-theme" ]
11+ then
12+ source "$ZSH/custom/$ZSH_THEME.zsh-theme"
13+ else
14+ source "$ZSH/themes/$ZSH_THEME.zsh-theme"
15+ fi
16 fi
17 fi
18