diff --git a/zshrc b/zshrc index 47bbf51..2f3e1b2 100644 --- a/zshrc +++ b/zshrc @@ -101,6 +101,7 @@ precmd_define_prompt() { PS1='%B%K{white}%F{black}%(3~|…/%1~|%~)%k%f %F{green}${vcs_info_msg_0_}%f %%%b ' fi } +typeset -ga precmd_functions precmd_functions+=precmd_define_prompt # include reading files from directory