Description of problem: When using the new DNF5, zsh is unable to autocomplete dnf5 commands. dnf5 is now by default on Fedora 41 and so, the autocomplete is broken. How reproducible: Everytime Steps to Reproduce: 1. sudo dnf install pyth => nothing happens 2. [tab][tab] Actual results: Nothing happens Expected results: List of packages starting with pyth Additional info: /usr/share/zsh/5.9/functions/_dnf is present, but not _dnf5 Using compdef dnf5=dnf has no effect cp _dnf _dnf5 has no effect /usr/share/bash-completion/completions/dnf5 is present for bash, and working.
The issue is tracked upstream in https://github.com/rpm-software-management/dnf5/issues/1826