diff options
author | Aswath K <aswath.sana@gmail.com> | 2018-10-05 13:43:39 +0530 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-10-05 10:13:39 +0200 |
commit | 08f2fc12143175d011d69189679b0ed4c834b5c7 (patch) | |
tree | 855152a1389f80156de2251c61933a0484cf1513 /plugins/themes | |
parent | 43e5c9093a303acaac861c723b4de1914adcf99f (diff) | |
download | zsh-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.zsh | 4 |
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 |