zsh tries to "exec" environment assignments
Bug #624565 reported by
Raúl Núñez de Arenas Coronado
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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_
Related branches
lp:~nicoulaj/command-not-found/fix-zsh-hook
- Command Not Found Developers: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedzsh_command_not_found (+1/-1)
Changed in command-not-found (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
Another example:
% (( 0 ))
((: command not found
This is a common idiom in zsh (to follow with an && or ||), so pretty important that it works.