From 2e5b6aeae8663b5560b6967a73fa30ceee47ff37 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 1 Apr 2021 22:16:35 -0400 Subject: [PATCH] I didn't use the error code anyway --- zsh/prompt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/zsh/prompt b/zsh/prompt index 89a3dd6..33ede65 100644 --- a/zsh/prompt +++ b/zsh/prompt @@ -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 "