From 08f2fc12143175d011d69189679b0ed4c834b5c7 Mon Sep 17 00:00:00 2001 From: Aswath K Date: Fri, 5 Oct 2018 13:43:39 +0530 Subject: [PATCH] themes: fix custom themes directory (#7233) --- plugins/themes/themes.plugin.zsh | 4 ++-- plugins/yum/README.md | 1 - 2 files changed, 2 insertions(+), 3 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 diff --git a/plugins/yum/README.md b/plugins/yum/README.md index 5053d4d42..8043421d8 100644 --- a/plugins/yum/README.md +++ b/plugins/yum/README.md @@ -25,4 +25,3 @@ plugins=(... yum) | ygr | `sudo yum groupremove` | Remove pagage group | | yrl | `sudo yum remove --remove-leaves` | Remove package and leaves | | yc | `sudo yum clean all` | Clean yum cache | -