From: martin f. krafft Date: Sun, 29 Jun 2008 09:38:46 +0000 (+0200) Subject: no need to run preprompt on chpwd X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/89106f193dc2629ba368748212fadf0613e5f922?ds=inline;pf=etc no need to run preprompt on chpwd --- diff --git a/.zsh/zshrc/60_vcsprompt b/.zsh/zshrc/60_vcsprompt index a23aab5..d8fdaea 100644 --- a/.zsh/zshrc/60_vcsprompt +++ b/.zsh/zshrc/60_vcsprompt @@ -225,7 +225,6 @@ if ! is_root; then _print_preprompt() { [[ $? -eq 0 ]] && __vcs_print_preprompt } - chpwd_functions+=_print_preprompt precmd_functions+=_print_preprompt # call it once