X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/5326b23ac21b7aa874f2f2f264a935f88009ef6c..e226ac038cb5616a177678c19023b639c3e9ef1c:/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