Diff
1diff --git a/themes/ys.zsh-theme b/themes/ys.zsh-theme
2index 737b506beb4b82d97040d0ba6d5b9b989f4c4987..89d5355dc952450157b8e04a48b5ba797dec9f41 100644
3--- a/themes/ys.zsh-theme
4+++ b/themes/ys.zsh-theme
5@@ -35,16 +35,16 @@ ys_hg_prompt_info() {
6 fi
7 }
8
9-local exit_code="%(?,%?,%{$fg[red]%}%?%{$reset_color%})"
10+local exit_code="%(?,,C:%{$fg[red]%}%?%{$reset_color%})"
11
12 # Prompt format:
13 #
14-# PRIVILEGES USER @ MACHINE in DIRECTORY on git:BRANCH STATE [TIME] tty:$TTY L:$SHELL_LEVEL N:LINE_NUM C:LAST_EXIT_CODE
15+# PRIVILEGES USER @ MACHINE in DIRECTORY on git:BRANCH STATE [TIME] C:LAST_EXIT_CODE
16 # $ COMMAND
17 #
18 # For example:
19 #
20-# % ys @ ys-mbp in ~/.oh-my-zsh on git:master x [21:47:42] tty:s000 L:1 N:12 C:0
21+# % ys @ ys-mbp in ~/.oh-my-zsh on git:master x [21:47:42] C:0
22 # $
23 PROMPT="
24 %{$terminfo[bold]$fg[blue]%}#%{$reset_color%} \
25@@ -56,5 +56,5 @@ PROMPT="
26 ${hg_info}\
27 ${git_info}\
28 \
29-%{$fg[white]%}[%*] tty:%l L:%L N:%i C:$exit_code
30+%{$fg[white]%}[%*] $exit_code
31 %{$terminfo[bold]$fg[red]%}$ %{$reset_color%}"