diff --git a/.config/zsh/functions/prompt_tastytea_setup b/.config/zsh/functions/prompt_tastytea_setup index d3d07d1..7fc84bb 100644 --- a/.config/zsh/functions/prompt_tastytea_setup +++ b/.config/zsh/functions/prompt_tastytea_setup @@ -90,13 +90,12 @@ function prompt_tastytea_vcs_async() { } prompt_tastytea_vcs_async_start - autoload -U add-zsh-hook add-zsh-hook precmd prompt_tastytea_vcs_precmd add-zsh-hook chpwd prompt_tastytea_vcs_chpwd } function prompt_tastytea_vcs() { - autoload -U vcs_info + autoload -U vcs_info add-zsh-hook zmodload zsh/zutil zstyle ':vcs_info:*' formats "%F{${prompt_tastytea_colours[vcs]}}(%b)%u%c%f "