]> git.madduck.net Git - etc/zsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

no need to run preprompt on chpwd
authormartin f. krafft <madduck@madduck.net>
Sun, 29 Jun 2008 09:38:46 +0000 (11:38 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 29 Jun 2008 09:38:46 +0000 (11:38 +0200)
.zsh/zshrc/60_vcsprompt

index a23aab5cbf21a0b52f2f2307eaf35d5b141edf6d..d8fdaeacdd05c4c2a3178e66d614244a77941c47 100644 (file)
@@ -225,7 +225,6 @@ if ! is_root; then
   _print_preprompt() {
     [[ $? -eq 0 ]] && __vcs_print_preprompt
   }
   _print_preprompt() {
     [[ $? -eq 0 ]] && __vcs_print_preprompt
   }
-  chpwd_functions+=_print_preprompt
   precmd_functions+=_print_preprompt
 
   # call it once
   precmd_functions+=_print_preprompt
 
   # call it once