I didn't use the error code anyway
This commit is contained in:
parent
0f96506b4d
commit
2e5b6aeae8
1 changed files with 2 additions and 4 deletions
|
@ -24,9 +24,7 @@ precmd() {
|
||||||
}
|
}
|
||||||
local vcs='${vcs_info_msg_0_}'
|
local vcs='${vcs_info_msg_0_}'
|
||||||
|
|
||||||
# prompt
|
local prompt="%B%(?.%F{green}✓%b.%F{red}✗)%b%f"
|
||||||
local return_code="%(?..%?)"
|
|
||||||
local prompt="%(?.%F{green}->.%F{red}-%B${return_code}%b%F{red}->%{%})%f"
|
|
||||||
|
|
||||||
PROMPT="${current_time} ${user}@${host} ${current_dir} ${vcs}
|
PROMPT="${current_time} ${user}@${host} ${current_dir} ${vcs}
|
||||||
|$prompt "
|
$prompt "
|
||||||
|
|
Loading…
Reference in a new issue