summaryrefslogtreecommitdiff
path: root/plugins/themes
diff options
context:
space:
mode:
authorAswath K <aswath.sana@gmail.com>2018-10-05 13:43:39 +0530
committerMarc Cornellà <marc.cornella@live.com>2018-10-05 10:13:39 +0200
commit08f2fc12143175d011d69189679b0ed4c834b5c7 (patch)
tree855152a1389f80156de2251c61933a0484cf1513 /plugins/themes
parent43e5c9093a303acaac861c723b4de1914adcf99f (diff)
downloadzsh-08f2fc12143175d011d69189679b0ed4c834b5c7.tar.gz
zsh-08f2fc12143175d011d69189679b0ed4c834b5c7.tar.bz2
zsh-08f2fc12143175d011d69189679b0ed4c834b5c7.zip
themes: fix custom themes directory (#7233)
Diffstat (limited to 'plugins/themes')
-rw-r--r--plugins/themes/themes.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/themes/themes.plugin.zsh b/plugins/themes/themes.plugin.zsh
index 7519b0253..487e85689 100644
--- a/plugins/themes/themes.plugin.zsh
+++ b/plugins/themes/themes.plugin.zsh
@@ -8,9 +8,9 @@ function theme
source "$RANDOM_THEME"
echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
else
- if [ -f "$ZSH_CUSTOM/$1.zsh-theme" ]
+ if [ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]
then
- source "$ZSH_CUSTOM/$1.zsh-theme"
+ source "$ZSH_CUSTOM/themes/$1.zsh-theme"
else
source "$ZSH/themes/$1.zsh-theme"
fi