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