From 2e4bc1cfa81aaf4fe223d4bbbabd1a7fd888dc26 Mon Sep 17 00:00:00 2001 From: Philipp B Date: Thu, 29 Mar 2018 11:35:20 +0200 Subject: [PATCH] add support for per-theme subfolder This will allow it to git-clone third-party themes into $ZSH_CUSTOM/themes/$ZSH_THEME and therefore make it somewhat easier to maintain --- oh-my-zsh.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 7f78e414..de389f68 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -110,6 +110,8 @@ else source "$ZSH_CUSTOM/$ZSH_THEME.zsh-theme" elif [ -f "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme" ]; then source "$ZSH_CUSTOM/themes/$ZSH_THEME.zsh-theme" + elif [ -f "$ZSH_CUSTOM/themes/$ZSH_THEME/$ZSH_THEME.zsh-theme" ]; then + source "$ZSH_CUSTOM/themes/$ZSH_THEME/$ZSH_THEME.zsh-theme" else source "$ZSH/themes/$ZSH_THEME.zsh-theme" fi