Add option to avoid printing "command not found" message

Bug #824244 reported by qqwa
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
command-not-found
Fix Released
Wishlist
Unassigned

Bug Description

Currently when in use my shell does this:
% asodiaosh
zsh: command not found: asodiaosh
asodiaosh: command not found
%

Adding this option removes the second line.

Revision history for this message
qqwa (qqwa-deactivatedaccount) wrote :
Revision history for this message
qqwa (qqwa-deactivatedaccount) wrote :

poke

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I have no experience with zsh but the patch looks good. I can apply it later this week or if you propose a merge request other people can do it faster.

Zygmunt Krynicki (zyga)
Changed in command-not-found:
status: New → Triaged
importance: Undecided → Wishlist
assignee: nobody → Zygmunt Krynicki (zkrynicki)
status: Triaged → Confirmed
Zygmunt Krynicki (zyga)
Changed in command-not-found:
status: Confirmed → Fix Committed
Zygmunt Krynicki (zyga)
Changed in command-not-found:
assignee: Zygmunt Krynicki (zkrynicki) → nobody
CarstenHey (c.hey)
Changed in command-not-found:
status: Fix Committed → Fix Released
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.