diff --git a/scripts.zsh b/scripts.zsh index e744fde..1132617 100755 --- a/scripts.zsh +++ b/scripts.zsh @@ -1,3 +1,4 @@ -chpwd() { +eval_ondir() { eval "`ondir \"$OLDPWD\" \"$PWD\"`" } +chpwd_functions=( eval_ondir $chpwd_functions )