From: PHO Date: Thu, 24 Sep 2009 13:47:01 +0000 (+0900) Subject: Auto commit by The Sugar System. X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=da8d349ec9c96d71eb577132abb7ec1240ea2205;p=sugar.git Auto commit by The Sugar System. --- 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