From da8d349ec9c96d71eb577132abb7ec1240ea2205 Mon Sep 17 00:00:00 2001 From: PHO Date: Thu, 24 Sep 2009 22:47:01 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot-files/_zshrc b/dot-files/_zshrc index eaf7657..6543f98 100644 --- a/dot-files/_zshrc +++ b/dot-files/_zshrc @@ -101,6 +101,11 @@ function print_directory_info() { # Darcs basename $absdir + elif [[ -r $absdir/CVS/Repository ]] then + # CVS + cat $absdir/CVS/Repository \ + | sed -e 's!\([^/]*\).*!\1!' + else # Unknown. if [[ $absdir = "/" ]] then -- 2.40.0