]> gitweb @ CieloNegro.org - sugar.git/commitdiff
Auto commit by The Sugar System.
authorPHO <pho@cielonegro.org>
Mon, 9 May 2011 17:19:51 +0000 (02:19 +0900)
committerPHO <pho@cielonegro.org>
Mon, 9 May 2011 17:19:51 +0000 (02:19 +0900)
dot-files/_zshrc

index d6cc9e00811ffb609d69583f1656b65e1eb0e270..24a7ecf5b37a79af27166bb0aee995a062d718e1 100644 (file)
@@ -95,7 +95,7 @@ function print_directory_info() {
 
     elif [[ -r $absdir/.hg/branch ]] then
         # Hg
-       local hgbranch=`cat $absdir/.hg/branch`
+        local hgbranch=`cat $absdir/.hg/branch`
         if [[ -e $absdir/.hg/unpushed ]] then
             echo "*${hgbranch}*"
         else
@@ -165,6 +165,7 @@ if [ $(hostname) = "aria.cielonegro.org" ]; then
     alias pa='open -a NiseRingo.app'
     alias heboris='open /Applications/HeborisUEMac/exe/Heboris\ OpenGL.app'
     alias hengband='open ~/Applications/hengband*/Hengband*'
+    alias syssleep='sudo shutdown -s now'
 fi
 
 if [ $(uname) = "Darwin" ]; then