[Bug 1769469] [NEW] no message printed for zsh commands not found

Orhan Kavrakoglu 1769469 at bugs.launchpad.net
Sun May 6 15:14:27 UTC 2018


Public bug reported:

(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 at vivaldi:/tmp% which fooo
fooo not found
17:34:45 1 aib at vivaldi:/tmp% fooo
17:34:47 127 aib at vivaldi:/tmp%

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

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  (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 causes
- no message to be printed at all:
+ 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 at vivaldi:/tmp% which fooo      
+ 17:34:42 0 aib at vivaldi:/tmp% which fooo
  fooo not found
  17:34:45 1 aib at vivaldi:/tmp% fooo
  17:34:47 127 aib at vivaldi:/tmp%
+ 
+ Removing --no-failure-msg in /etc/zsh_command_not_found fixes this.

-- 
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/1769469

Title:
  no message printed for zsh commands not found

Status in command-not-found package in Ubuntu:
  New

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 at vivaldi:/tmp% which fooo
  fooo not found
  17:34:45 1 aib at vivaldi:/tmp% fooo
  17:34:47 127 aib at vivaldi:/tmp%

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

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



More information about the foundations-bugs mailing list