From 196f1d13eb24798b320b42c6f96e2801b9a40f25 Mon Sep 17 00:00:00 2001 From: sev Date: Fri, 1 Sep 2023 13:17:07 -0500 Subject: [PATCH 1/1] prompt_arrows_setup: fix exit code subst --- etc/zsh/functions/Prompts/prompt_arrows_setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zsh/functions/Prompts/prompt_arrows_setup b/etc/zsh/functions/Prompts/prompt_arrows_setup index f0bcfea..8c280f4 100644 --- a/etc/zsh/functions/Prompts/prompt_arrows_setup +++ b/etc/zsh/functions/Prompts/prompt_arrows_setup @@ -72,7 +72,7 @@ function prompt_arrows_setup() { return ;; } - PROMPT="$PROMPT%(1j,%F{$c}%j,)$vicol%#%F{$p}%n%F{$n}@%F{$p}%2m%(?..%F{$n}/%F{$r}\$?)%F{$n}: " + PROMPT="$PROMPT%(1j,%F{$c}%j,)$vicol%#%F{$p}%n%F{$n}@%F{$p}%2m%(?..%F{$n}/%F{$r}%?)%F{$n}: " POSTEDIT="$(print -P "%F{$n}%f")" autoload -Uz vcs_info zstyle ':vcs_info:git*' get-revision true -- 2.47.0