X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/0a2c5ed047d6c57887b1c4275a59cbc96d76ae92..a0bee6e01b9617fafb65c4dbe70bcc5cfc6c6d98:/.zsh/zshrc/85_vcs_prompt?ds=sidebyside 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