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

Ricardo Pérez López ricpelo at gmail.com
Sun Apr 22 09:28:07 UTC 2018


Public bug reported:

- 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.

** Affects: command-not-found
     Importance: Undecided
         Status: New

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


** Tags: bionic command-not-found zsh

** Tags added: command-not-found zsh

** Tags removed: zsh

** Tags added: zsh

** Tags added: bionic

-- 
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:
  New
Status in command-not-found package in Ubuntu:
  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/command-not-found/+bug/1766068/+subscriptions



More information about the foundations-bugs mailing list