summaryrefslogtreecommitdiff
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
parent43e5c9093a303acaac861c723b4de1914adcf99f (diff)
downloadzsh-08f2fc12143175d011d69189679b0ed4c834b5c7.tar.gz
zsh-08f2fc12143175d011d69189679b0ed4c834b5c7.tar.bz2
zsh-08f2fc12143175d011d69189679b0ed4c834b5c7.zip
themes: fix custom themes directory (#7233)
-rw-r--r--plugins/themes/themes.plugin.zsh4
-rw-r--r--plugins/yum/README.md1
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 |
-