I didn't use the error code anyway

This commit is contained in:
Andrew Tomaka 2021-04-01 22:16:35 -04:00
parent 0f96506b4d
commit 2e5b6aeae8
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -24,9 +24,7 @@ precmd() {
}
local vcs='${vcs_info_msg_0_}'
# prompt
local return_code="%(?..%?)"
local prompt="%(?.%F{green}->.%F{red}-%B${return_code}%b%F{red}->%{%})%f"
local prompt="%B%(?.%F{green}✓%b.%F{red}✗)%b%f"
PROMPT="${current_time} ${user}@${host} ${current_dir} ${vcs}
|$prompt "
$prompt "