From: sev Date: Fri, 1 Sep 2023 18:17:07 +0000 (-0500) Subject: prompt_arrows_setup: fix exit code subst X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/196f1d13eb24798b320b42c6f96e2801b9a40f25?ds=sidebyside;hp=2f61cc7adbb880a728745ac1467cfc4196f793f8 prompt_arrows_setup: fix exit code subst --- 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