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

mde mde at micahelliott.com
Sat Aug 13 05:34:44 UTC 2011


Another example:

% (( 0 ))   
((: command not found

This is a common idiom in zsh (to follow with an && or ||), so pretty
important that it works.

-- 
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:
  Confirmed

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