X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/0a2c5ed047d6c57887b1c4275a59cbc96d76ae92..0c65a2e8aa1854c4ddbe047afd82063903e7238f:/.zsh/zshrc/85_vcs_prompt diff --git a/.zsh/zshrc/85_vcs_prompt b/.zsh/zshrc/85_vcs_prompt index 63ccb65..81e7773 100644 --- a/.zsh/zshrc/85_vcs_prompt +++ b/.zsh/zshrc/85_vcs_prompt @@ -99,15 +99,15 @@ if ! is_root; then *${vcs}*) __vcs_set_prompt_variables esac } - precmd_functions+=_update_vcs prompt_vars_if_vcs_ran + precmd_functions+=_update_vcs_prompt_vars_if_vcs_ran _update_vcs_prompt_vars() { __vcs_set_prompt_variables } chpwd_functions+=_update_vcs_prompt_vars -fi -# call it once -_update_vcs_prompt_vars + # call it once + _update_vcs_prompt_vars +fi # vim:ft=zsh