[Bug 624565] Re: zsh tries to "exec" environment assignments

CarstenHey carsten at debian.org
Thu Jul 30 12:25:24 UTC 2015


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
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/624565

Title:
  zsh tries to "exec" environment assignments

Status in command-not-found package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: command-not-found

  From a clean promt, do the following:

  $ FOO=BAR false
  FOO=BAR: command not found

  The same applies for any command that returns non-zero status if any
  environment assignment exists, the first assignment is run.

  The culprit is /etc/zsh_command_not_found. I haven't had the time to
  read the code and check for the particular piece which is causing the
  problem, so I cannot give a patch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/624565/+subscriptions



More information about the foundations-bugs mailing list