zshrc: changing invocation of vcs_info()
authorFrank Terbeck <ft@grml.org>
Fri, 5 Sep 2008 23:58:12 +0000 (01:58 +0200)
committerFrank Terbeck <ft@grml.org>
Fri, 5 Sep 2008 23:58:12 +0000 (01:58 +0200)
commit5e588b6d52992e691b406d3f3df175d2cf972d9b
tree0615b61b001e1253d4a89a535f042f9b762306f2
parent249e436ef73028ebac45308ee7de0332724aa616
zshrc: changing invocation of vcs_info()

Calling vcs_info() from PS1 is a stupid idea, because it will be called
*every* *single* *time* the prompt is redrawn.

That's among other things, every time you hit tab. Annoying.

This calls vcs_info() from precmd(). That's a *lot* less than before.
debian/changelog
etc/zsh/zshrc