Reverted the plugin, since it was unnecessary to change.

This commit is contained in:
UnaTried 2025-04-02 19:09:35 +02:00 committed by GitHub
commit f07f9ef7ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,15 +8,7 @@ function theme {
elif [[ -f "$ZSH/themes/$1.zsh-theme" ]]; then elif [[ -f "$ZSH/themes/$1.zsh-theme" ]]; then
source "$ZSH/themes/$1.zsh-theme" source "$ZSH/themes/$1.zsh-theme"
else else
echo "$0: Theme '$1' not found, using default theme!" echo "$0: Theme '$1' not found"
if [[ -f "$ZSH_CUSTOM/robbyrussell.zsh-theme" ]]; then
source "$ZSH_CUSTOM/robbyrussell.zsh-theme"
elif [[ -f "$ZSH_CUSTOM/themes/robbyrussell.zsh-theme" ]]; then
source "$ZSH_CUSTOM/themes/robbyrussell.zsh-theme"
elif [[ -f "$ZSH/themes/robbyrussell.zsh-theme" ]]; then
source "$ZSH/themes/robbyrussell.zsh-theme"
else
echo "$0: The default theme (robbyrussell) also does not exist!"
return 1 return 1
fi fi
} }