]> git.sev.monster Git - dotfiles.git/commitdiff
prompt_arrows_setup: fix exit code subst
authorsev <git@sev.monster>
Fri, 1 Sep 2023 18:17:07 +0000 (13:17 -0500)
committersev <git@sev.monster>
Fri, 5 Apr 2024 21:27:40 +0000 (16:27 -0500)
etc/zsh/functions/Prompts/prompt_arrows_setup

index f0bcfeada05a1d2010d73382e7ff302970022593..8c280f492051e62a71d20014e9b61c1754c329e2 100644 (file)
@@ -72,7 +72,7 @@ function prompt_arrows_setup() {
             return
             ;;
     }
             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
     POSTEDIT="$(print -P "%F{$n}%f")"
     autoload -Uz vcs_info
     zstyle ':vcs_info:git*' get-revision true
This page took 0.045625 seconds and 4 git commands to generate.