no message printed for zsh commands not found

Bug #1769469 reported by Orhan Kavrakoglu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
New
Undecided
Unassigned

Bug Description

(Ubuntu 18.04)
It seems zsh no longer prints the "command not found: foo" message itself; everything is left to the handler.

Therefore, passing --no-failure-msg to /usr/lib/command-not-found in /etc/zsh_command_not_found causes no message to be printed at all:

17:34:42 0 aib@vivaldi:/tmp% which fooo
fooo not found
17:34:45 1 aib@vivaldi:/tmp% fooo
17:34:47 127 aib@vivaldi:/tmp%

Removing --no-failure-msg in /etc/zsh_command_not_found fixes this.

Orhan Kavrakoglu (aib)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.