X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/5326b23ac21b7aa874f2f2f264a935f88009ef6c..ec9f2140efb69f3f9e95b8b2fa3681e3ff07e38b:/etc/zsh/functions/Prompts/prompt_arrows_setup diff --git a/etc/zsh/functions/Prompts/prompt_arrows_setup b/etc/zsh/functions/Prompts/prompt_arrows_setup index f0bcfea..9c59b8f 100644 --- a/etc/zsh/functions/Prompts/prompt_arrows_setup +++ b/etc/zsh/functions/Prompts/prompt_arrows_setup @@ -68,11 +68,11 @@ function prompt_arrows_setup() { PROMPT="%F{$c}>>> $hist" ;; *) - echo "Unknown prompt mode $m" + echo -E "Unknown prompt mode $m" 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