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.
** Changed in: command-not-found (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/624565 Title: zsh tries to "exec" environment assignments To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/624565/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs