[Bug 1766068] Re: Using Zsh, it doesn't show an error message when command not found

Launchpad Bug Tracker 1766068 at bugs.launchpad.net
Tue Jun 2 22:25:07 UTC 2020


This bug was fixed in the package command-not-found - 20.10.0

---------------
command-not-found (20.10.0) groovy; urgency=medium

  * zsh: Do not pass --no-failure-msg, non-existing commands were not getting
    any output at all (LP: #1766068) (Closes: #927876)

 -- Julian Andres Klode <juliank at ubuntu.com>  Mon, 01 Jun 2020 13:44:25
+0200

** Changed in: command-not-found (Ubuntu)
       Status: Fix Committed => 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/1766068

Title:
  Using Zsh, it doesn't show an error message when command not found

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

Bug description:
  - Using latest Ubuntu Bionic, full updated.

  - Using Zsh.

  My ~/.zshrc includes the following line:

    . /etc/zsh_command_not_found

  When I type (for example):

    $ sdlkfjslkdfjkdslf

  it doesn't say nothing. No error message.

  If I change the line #11 of /etc/zsh_command_not_found and I remove
  '--no-failure-msg' option, then it works OK:

    /usr/lib/command-not-found -- ${1+"$1"} && : (line 11, without --no-
  failure-msg option)

  I think the above option should be removed from
  /etc/zsh_command_not_found.

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



More information about the foundations-bugs mailing list