]> gitweb @ CieloNegro.org - sugar.git/commitdiff
Auto commit by The Sugar System.
authorPHO <pho@cielonegro.org>
Fri, 25 Sep 2009 09:58:51 +0000 (18:58 +0900)
committerPHO <pho@cielonegro.org>
Fri, 25 Sep 2009 09:58:51 +0000 (18:58 +0900)
dot-files/_zshrc

index 575cb3ada0ec5abb9b1bd47bea4fdc46c1fe5a95..bcbe986c3af50b7f6fd89d2fbe854a1be5f56697 100644 (file)
@@ -74,7 +74,7 @@ function preexec() { # Hook
     fi
 }
 
-function chpwd() { # Hook
+function precmd() { # Hook
     local dirinfo=$(print_directory_info $(pwd))
 
     case $dirinfo in
@@ -117,7 +117,6 @@ function print_directory_info() {
         fi
     fi
 }
-chpwd
 
 HISTFILE="$HOME/.zhistory"
 HISTSIZE=6000000