]> gitweb @ CieloNegro.org - sugar.git/blobdiff - dot-files/_zshrc
Auto commit by The Sugar System.
[sugar.git] / dot-files / _zshrc
index 710f2590c1fcf04ef13e734d4e8df127cfdc3242..d6cc9e00811ffb609d69583f1656b65e1eb0e270 100644 (file)
@@ -95,7 +95,12 @@ function print_directory_info() {
 
     elif [[ -r $absdir/.hg/branch ]] then
         # Hg
-        cat $absdir/.hg/branch
+       local hgbranch=`cat $absdir/.hg/branch`
+        if [[ -e $absdir/.hg/unpushed ]] then
+            echo "*${hgbranch}*"
+        else
+            echo "$hgbranch"
+        fi
 
     elif [[ -d $absdir/_darcs ]] then
         # Darcs
@@ -154,6 +159,7 @@ alias g2="ssh pho@g2.cuenote.jp"
 alias mana="ssh pho@mana"
 
 if [ $(hostname) = "aria.cielonegro.org" ]; then
+    alias firefox="/opt/local/bin/firefox"
     alias safari="open -a Safari"
     alias unstuff='open -a StuffIt\ Expander.app'
     alias pa='open -a NiseRingo.app'