7 PROMPT+='${(j::)psvar}'
9 PROMPT+='%U${vcs_info_msg_0_}%u'
10 PROMPT+="%(?.. %S%?%s)"
11 PROMPT+='%(1S. %B${SECONDS}%b.)'
12 PROMPT+='%B%F{magenta}%#%f%b '
14 function zle-line-init zle-keymap-select {
16 [[ ${KEYMAP} == vicmd ]] || ccolour=green
17 printf "\e]12;${ccolour}\e\\"
18 [[ "$#_autoenv_stack_entered" -eq 0 ]] && psvar=(${psvar#A}) || {
19 [[ -n "${psvar[(r)A]}" ]] || psvar=(A $psvar)
21 [[ -z "$VIRTUAL_ENV" ]] && psvar=(${psvar#V}) || {
22 [[ -n "${psvar[(r)V]}" ]] || psvar=(V $psvar)
24 [[ `umask` == "077" ]] && psvar=(${psvar#M}) || {
25 [[ -n "${psvar[(r)M]}" ]] || psvar=("M" $psvar)
31 zle -N zle-keymap-select
39 [[ -n "$NO_VCS_INFO" ]] || vcs_info