Bug 2267668

Summary: Provide bash completion when dnf5 is the default package manager
Product: [Fedora] Fedora Reporter: Jan Kolarik <jkolarik>
Component: dnf5Assignee: Jan Kolarik <jkolarik>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: rawhideCC: jkolarik, nsella, pkratoch, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-06 05:54:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kolarik 2024-03-04 10:05:00 UTC
When the planned change for Fedora 41 takes effect, with the /usr/bin/dnf symlink pointing to /usr/bin/dnf5, both the 'dnf5' and 'dnf' commands should offer bash completion. This can likely be addressed in the spec file by creating a symlink at '%{_datadir}/bash-completion/completions/dnf' when 'dnf5_obsoletes_dnf' is true.

Reproducible: Always

Comment 1 Jan Kolarik 2024-03-06 05:54:44 UTC

*** This bug has been marked as a duplicate of bug 2223324 ***