| @@ -367,25 +367,17 @@ then | |||||
| test -x /usr/bin/locate && alias locate="/usr/bin/locate" | test -x /usr/bin/locate && alias locate="/usr/bin/locate" | ||||
| fi | fi | ||||
| if $inzsh | |||||
| then | |||||
| # somehow not work | |||||
| # typeset -ga chpwd_functions | |||||
| # chpwd_functions+=pwd | |||||
| # chpwd(){ | |||||
| # pwd | |||||
| # } | |||||
| cd(){ | |||||
| builtin cd "$@" | |||||
| pwd | |||||
| } | |||||
| else | |||||
| cd(){ | |||||
| command cd "$@" | |||||
| pwd | |||||
| } | |||||
| fi | |||||
| # somehow not work | |||||
| # typeset -ga chpwd_functions | |||||
| # chpwd_functions+=pwd | |||||
| # chpwd(){ | |||||
| # pwd | |||||
| # } | |||||
| cd(){ | |||||
| builtin cd "$@" | |||||
| pwd | |||||
| } | |||||
| # pad | # pad | ||||
| alias pad=notepad | alias pad=notepad | ||||