diff options
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/appearance.zsh | 2 |
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) |