hook默认不启用
This commit is contained in:
parent
988b430732
commit
e661c0a280
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue