hook默认不启用

This commit is contained in:
chenyc 2022-12-08 17:46:45 +08:00
parent 988b430732
commit e661c0a280
1 changed files with 2 additions and 2 deletions

View File

@ -12,5 +12,5 @@ _apply_chpwd_hook() {
[ -d "$currentdir" ] && cd $currentdir [ -d "$currentdir" ] && cd $currentdir
} }
[ "$_OMZ_APPLY_PREEXEC_HOOK" == "true" ] && _apply_preexec_hook [ "$_OMZ_APPLY_PREEXEC_HOOK" = "true" ] && _apply_preexec_hook
[ "$_OMZ_APPLY_CHPWD_HOOK" == "true" ] && _apply_chpwd_hook [ "$_OMZ_APPLY_CHPWD_HOOK" = "true" ] && _apply_chpwd_hook