From 1c950ceb91eb5b5623376cea3745873d38fc9751 Mon Sep 17 00:00:00 2001 From: James McGlashan Date: Tue, 6 Dec 2011 17:46:35 +1100 Subject: [PATCH] fixed a little bug, could be re-implemented and fixed, but for now; removed --- omz | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/omz b/omz index 4ca3fbe9d..6f80ea3af 100644 --- a/omz +++ b/omz @@ -38,8 +38,7 @@ omz() { "theme") local theme zstyle -a :omz:style theme theme - [[ -f {$OMZ,$ZSH}/themes/$2.zsh-theme(N) ]] && theme=$2 || omz_log_msg "Theme: $2 not found." - set_theme $theme + set_theme ${2:-$theme} ;; *) echo "$0: invalid command $1" 2>&1