From cab4384bdb27f01a340323312cbcd8129d8d0569 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 27 Jun 2009 10:33:51 +0000 Subject: Add vcs-info git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@398 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zshrc') diff --git a/zshrc b/zshrc index 03e9fc3..92d1e39 100644 --- a/zshrc +++ b/zshrc @@ -105,7 +105,7 @@ export DEBEMAIL="weasel@debian.org" ####################################################################### ####################################################################### -fpath=( "$HOME/.zshfunc" "$fpath[@]" ) +fpath=( "$HOME/.zshfunc" "$HOME/.zshfunc/vcs-info" "$fpath[@]" ) export FPATH # Only unique entries please. typeset -U fpath @@ -325,10 +325,10 @@ function init-prompt() { fi if [ "`id -u`" = "0" -o ! -x /usr/bin/id ] ; then - export PROMPT='${debian_chroot:+[$debian_chroot] }${vcs_info_msg_0_}%n@%m:%~# ' + export PROMPT='${debian_chroot:+[$debian_chroot] }${VCS_INFO_message_0_}%n@%m:%~# ' export TITLE="%n@%m: %~" else - export PROMPT='${debian_chroot:+[$debian_chroot] }${vcs_info_msg_0_}%n@%m:%~$ ' + export PROMPT='${debian_chroot:+[$debian_chroot] }${VCS_INFO_message_0_}%n@%m:%~$ ' export TITLE="%n@%m: %~" fi } -- cgit v1.2.3