Bug 1215180

Summary: zypper completion stopped working after openSUSE-SLE-15.5-2023-3514
Product: [openSUSE] openSUSE Tumbleweed Reporter: Andrei Borzenkov <arvidjaar>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: meissner
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andrei Borzenkov 2023-09-10 07:14:43 UTC
The https://bugzilla.opensuse.org/show_bug.cgi?id=1213854 moved zypper.sh completion definiution to /usr/share/bash-completion/completions. The file name is wrong. bash-completion implements dynamic loading of completion definitions and the file name must match the command name. It should have been /usr/share/bash-completion/completions/zypper.

Fortunately my Tumbleweed was not yet updated to include this fix :)

Oh, and patch metadata does not even list the boo#1213854, so

zypper lp --bugzilla=1213854

shows nothing.
Comment 1 Michael Andres 2023-09-10 11:08:55 UTC
Fixed in zypper 1.14.64

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