From 7e08bdc3f1774f6d101df81b4170f421c8de361a Mon Sep 17 00:00:00 2001 From: PHO Date: Fri, 25 Sep 2009 19:05:00 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dot-files/_zshrc b/dot-files/_zshrc index bcbe986..b22c34f 100644 --- a/dot-files/_zshrc +++ b/dot-files/_zshrc @@ -93,9 +93,9 @@ function print_directory_info() { git branch --no-color 2>/dev/null \ | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' - elif [[ -d $absdir/.hg ]] then + elif [[ -r $absdir/.hg/branch ]] then # Hg - hg branch 2>/dev/null + cat $absdir/.hg/branch elif [[ -d $absdir/_darcs ]] then # Darcs -- 2.40.0