08f2fc12143175d011d69189679b0ed4c834b5c7

Author
Aswath K <aswath.sana@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

themes: fix custom themes directory (#7233)

Diff

 1diff --git a/plugins/themes/themes.plugin.zsh b/plugins/themes/themes.plugin.zsh
 2index 7519b025359d6ce21fce6b6f893b692d346dab2a..487e85689351c6f055fb842fb100f0176a786375 100644
 3--- a/plugins/themes/themes.plugin.zsh
 4+++ b/plugins/themes/themes.plugin.zsh
 5@@ -8,9 +8,9 @@ function theme
 6 	source "$RANDOM_THEME"
 7 	echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
 8     else
 9-	if [ -f "$ZSH_CUSTOM/$1.zsh-theme" ]
10+	if [ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]
11 	then
12-	    source "$ZSH_CUSTOM/$1.zsh-theme"
13+	    source "$ZSH_CUSTOM/themes/$1.zsh-theme"
14 	else
15 	    source "$ZSH/themes/$1.zsh-theme"
16 	fi
17diff --git a/plugins/yum/README.md b/plugins/yum/README.md
18index 5053d4d42295723cfc4767e4918114ce97f0cfd8..8043421d8a526c1951cec777fede0d345d851682 100644
19--- a/plugins/yum/README.md
20+++ b/plugins/yum/README.md
21@@ -25,4 +25,3 @@ plugins=(... yum)
22 | ygr   | `sudo yum groupremove`            | Remove pagage group          |
23 | yrl   | `sudo yum remove --remove-leaves` | Remove package and leaves    |
24 | yc    | `sudo yum clean all`              | Clean yum cache              |
25-