]> git.sev.monster Git - dotfiles.git/blobdiff - base/.zsh/prompt_ds6_setup
update scripts, vim plugins, fonts, firefox, tint2
[dotfiles.git] / base / .zsh / prompt_ds6_setup
index 77c1a6d2e85688f655475b689d774c4d4e6b25cf..b1f561311c8bcdd1ffea1bccdb35772df2e19cd7 100644 (file)
@@ -70,6 +70,7 @@ function prompt_ds6_setup() {
     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
 }
@@ -80,10 +81,14 @@ function zle-line-init {
     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 :
This page took 0.035286 seconds and 4 git commands to generate.