move the jj_chpwd addition out of the function file into the environment file
[zsh.git] / .zsh / 05_Functions.zsh
index 151d53c..94ae850 100644 (file)
@@ -56,14 +56,6 @@ _jj_chpwd()
        fi
 }
 
-if is434 ; then
-    add-zsh-hook chpwd _jj_chpwd
-else
-    function chpwd() {
-        _jj_chpwd
-    }
-fi
-
 # Idea taken from oh-my-zsh, but code is different
 function dirpersistrestore () {
     if [ -f ${DIRSTACKFILE} ]; then