From 61ad42690140f9a0b7f9614af2ce2756613e04d3 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Tue, 22 Mar 2011 11:47:30 -0400 Subject: fix up the syntax --- zsh/appearance.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/appearance.zsh b/zsh/appearance.zsh index b4cd049..f13b218 100644 --- a/zsh/appearance.zsh +++ b/zsh/appearance.zsh @@ -32,7 +32,7 @@ function theme_preexec () { # print the exit code of the previous command in red if non-zero function return_code { - echo "%(?..$fg[red]%?$reset_color )" + echo "%(?..%{$fg[red]%}%?%{$reset_color%} )" } # print the svn revision number (rREVISION) -- cgit v1.2.3