PackageKit zsh command_not_found_handler for zsh prints error twice
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
