$precmd_functions
 – 
Functions executed before each prompt
$precmd_functions defines functions in addition to precmd which are executed before each prompt.
Links
BashSupport Pro 是一款支持 precmd_functions** 的 **Zsh 集成开发环境 - 立即试用!