From f07f9ef7eebb7479d59c70edbf18dbcf8dfa15d1 Mon Sep 17 00:00:00 2001 From: UnaTried <103455203+UnaTried@users.noreply.github.com> Date: Wed, 2 Apr 2025 19:09:35 +0200 Subject: [PATCH] Reverted the plugin, since it was unnecessary to change. --- plugins/themes/themes.plugin.zsh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/plugins/themes/themes.plugin.zsh b/plugins/themes/themes.plugin.zsh index 6608d829b..650856284 100644 --- a/plugins/themes/themes.plugin.zsh +++ b/plugins/themes/themes.plugin.zsh @@ -8,15 +8,7 @@ function theme { elif [[ -f "$ZSH/themes/$1.zsh-theme" ]]; then source "$ZSH/themes/$1.zsh-theme" else - echo "$0: Theme '$1' not found, using default theme!" - 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!" + echo "$0: Theme '$1' not found" return 1 fi }