aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Singleton <matthew.j.singleton@gmail.com>2011-03-22 11:47:30 -0400
committerMatt Singleton <matthew.j.singleton@gmail.com>2011-03-22 11:47:30 -0400
commit61ad42690140f9a0b7f9614af2ce2756613e04d3 (patch)
tree8de0a14eb3fd8a85313bc9b29a9f9348c3a44ec9
parent6bb1627a70339b0799638ec64004481f283c3167 (diff)
fix up the syntax
-rw-r--r--zsh/appearance.zsh2
1 files changed, 1 insertions, 1 deletions
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)