mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 15:53:22 +01:00
themes: fix custom themes directory (#7233)
This commit is contained in:
parent
43e5c9093a
commit
08f2fc1214
@ -8,9 +8,9 @@ function theme
|
|||||||
source "$RANDOM_THEME"
|
source "$RANDOM_THEME"
|
||||||
echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
|
echo "[oh-my-zsh] Random theme '$RANDOM_THEME' loaded..."
|
||||||
else
|
else
|
||||||
if [ -f "$ZSH_CUSTOM/$1.zsh-theme" ]
|
if [ -f "$ZSH_CUSTOM/themes/$1.zsh-theme" ]
|
||||||
then
|
then
|
||||||
source "$ZSH_CUSTOM/$1.zsh-theme"
|
source "$ZSH_CUSTOM/themes/$1.zsh-theme"
|
||||||
else
|
else
|
||||||
source "$ZSH/themes/$1.zsh-theme"
|
source "$ZSH/themes/$1.zsh-theme"
|
||||||
fi
|
fi
|
||||||
|
@ -25,4 +25,3 @@ plugins=(... yum)
|
|||||||
| ygr | `sudo yum groupremove` | Remove pagage group |
|
| ygr | `sudo yum groupremove` | Remove pagage group |
|
||||||
| yrl | `sudo yum remove --remove-leaves` | Remove package and leaves |
|
| yrl | `sudo yum remove --remove-leaves` | Remove package and leaves |
|
||||||
| yc | `sudo yum clean all` | Clean yum cache |
|
| yc | `sudo yum clean all` | Clean yum cache |
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user