PROMPT="%F{$c}>>> $hist"
;;
*)
- echo "Unknown prompt mode $m"
+ echo -E "Unknown prompt mode $m"
return
;;
}
}
function prompt_arrows_preview {
- if (( ! $#* )); then
- prompt_preview_theme arrows 2line
- print '\n'
- prompt_preview_theme arrows right
- print
- else
- prompt_preview_theme arrows "$@"
- print
- fi
+ if (( ! $#* )) {
+ prompt_preview_theme arrows 2line
+ print '\n'
+ prompt_preview_theme arrows right
+ print
+ } else {
+ prompt_preview_theme arrows "$@"
+ print
+ }
}
function +vi-prompt_arrows_revertfix() {