From aacce5b1ff1f2315f9911da3ce29217ff2b00fdd Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Thu, 26 Jan 2012 13:44:42 -0500 Subject: [PATCH] use spectrum.zsh instead of manual color assignment --- plugins/upgrade/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/upgrade/init.zsh b/plugins/upgrade/init.zsh index affb3677..84516435 100644 --- a/plugins/upgrade/init.zsh +++ b/plugins/upgrade/init.zsh @@ -22,12 +22,12 @@ function upgrade_zsh() { zstyle -t ':omz:plugin:update-omz' auto-commit || local nocommit='--no-commit' if git pull $nocommit --strategy=recursive -X ours origin master; then - zstyle -t ':omz:plugin:upgrade' color && printf '\033[0;34m%s\033[0m\n' + zstyle -t ':omz:plugin:update-omz' color && printf "$FG[blue]" printf 'Hooray! oh-my-zsh is up-to-date :)' touch ~/.zsh-upgrade else - zstyle -t ':omz:plugin:upgrade' color && printf '\033[0;31m%s\033[0m\n' printf 'Oh no! There was an error upgrading oh-my-zsh :(' + zstyle -t ':omz:plugin:update-omz' color && printf "$FG[red]" fi cd $current_path