Fix released long ago (for the original issue and the one mentioned by mde) by using zsh's command_not_found_handler() instead of the hand written cnf_precmd()/cnf_preexec() magic in /etc/zsh_command_not_found.
Fix released long ago (for the original issue and the one mentioned by mde) by using zsh's command_ not_found_ handler( ) instead of the hand written cnf_precmd( )/cnf_preexec( ) magic in /etc/zsh_ command_ not_found.