setopt nopromptbang prompt{cr,percent,sp,subst} zstyle ':zim:duration-info' threshold 0.5 zstyle ':zim:duration-info' format '%.4d s' autoload -Uz add-zsh-hook add-zsh-hook preexec duration-info-preexec add-zsh-hook precmd duration-info-precmd RPS1='${duration_info}%'