commit: zshrc: changing invocation of vcs_info()
Frank Terbeck
ft at repos.grml.org
Sat Sep 6 02:14:25 CEST 2008
Changeset available online at:
http://hg.grml.org/grml-etc-core/rev/cab54b0c03b6fe61e8a2327580c9ca5b00ac98b7
changeset: 443:cab54b0c03b6fe61e8a2327580c9ca5b00ac98b7
user: Frank Terbeck <ft at grml.org>
date: Sat Sep 06 01:58:12 2008 +0200
files: debian/changelog etc/zsh/zshrc
description:
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.
More information about the Git-commits
mailing list