diff options
Diffstat (limited to 'zsh/rc.d/40-prompt')
-rw-r--r-- | zsh/rc.d/40-prompt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zsh/rc.d/40-prompt b/zsh/rc.d/40-prompt index d3519ee..e7907c3 100644 --- a/zsh/rc.d/40-prompt +++ b/zsh/rc.d/40-prompt @@ -488,3 +488,11 @@ if [ "x$debian_chroot" != "x" ]; then PS1="%(5V.${_SUDO_ALLOWED}.${_SUDO_RESET})%m${_SUDO_RESET}/$debian_chroot${_SHELLDEPTH}%(1V.${_VCS_PROMPT}.)%(6V.(%6v).)%# " fi +# Finally set up to refresh the prompt every 5s or so + +TRAPALRM () { + precmd + zle reset-prompt +} + +TMOUT=5 |