Zsh → Functions → precmdHook function executed before each promptFunction precmd is executed before each prompt.LinksZ Shell manualBashSupport Pro is a Zsh IDE with support for precmd – try it now!