Fix `VCS_INFO_realpath()' for zsh 4.3.10 and below
authorFrank Terbeck <ft@grml.org>
Fri, 3 Dec 2010 10:26:36 +0000 (11:26 +0100)
committerFrank Terbeck <ft@grml.org>
Fri, 3 Dec 2010 10:26:36 +0000 (11:26 +0100)
commit1e010be0f3a7365ee1539d0858ef36092a834869
tree4a67286758989d23999b2779775afd4476fc053e
parentf01c87fa04d62a29f46256b1444c7b980bfb1c46
Fix `VCS_INFO_realpath()' for zsh 4.3.10 and below

If the chpwd hook is activated by using the `chpwd_functions[]' array,
could break `VCS_INFO_realpath()', which could lead to endless loops in
`vcs_info' if the one of the hook functions produced output.

This fixes it.

I'm refraining from patching the grmlzshrc-included
`VCS_INFO_realpath()' function, because the use of "cd -q" requires a
pretty recent version of the shell.
etc/zsh/zshrc