zstyle ':vcs_info:git*' unstagedstr "%F{$r}*"
add-zsh-hook precmd prompt_ds6_precmd
+ add-zsh-hook preexec prompt_ds6_preexec
zle -N zle-line-init
zle -A zle-line-init zle-keymap-select
}
zle reset-prompt
}
-function prompt_ds6_precmd() {
+function prompt_ds6_precmd {
# TODO: check if vcs_info is autoloaded
vcs_info
}
+function prompt_ds6_preexec {
+ print -Pn "%F{red}<<<%f "
+}
+
prompt_ds6_setup "$@"
# vim: set et fenc=utf-8 ft=zsh sts=4 sw=4 ts=8 tw=0 :