diff options
author | Peter Palfrader <peter@palfrader.org> | 2009-06-27 10:33:51 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2009-06-27 10:33:51 +0000 |
commit | cab4384bdb27f01a340323312cbcd8129d8d0569 (patch) | |
tree | bb41bbea0ed81e16ce91b959126319aa642fd607 /zshrc | |
parent | 9b19b5b9a1aae828101c901eee39491765ea4603 (diff) |
Add vcs-info
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@398 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |