PackageKit zsh command_not_found_handler for zsh prints error twice

Solution Unverified - Updated -

Issue

Packagekit installs a command handler for bash (command_not_found_handle) in /etc/profile.d/ which gets automatically loaded. Newer versions also add the equivalent for zsh, command_not_found_handler. This handler duplicates the Command not found message.

Environment

  • Red Hat Enterprise Linux 7
  • zsh
  • PackageKit-command-not-found version 1.0.7 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content