Bug 1218875 - grub2-2.12-1.1 bash completion not working
Summary: grub2-2.12-1.1 bash completion not working
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Bootloader (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Bootloader Maintainers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-16 23:39 UTC by Jared Hudson
Modified: 2024-05-17 09:10 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Hudson 2024-01-16 23:39:16 UTC
Fully updated Tumbleweed system.
grub2-2.12-1.1.x86_64

bash completion has stopped working for grub2 prefixed commands.

If I move the grub bash completion script from /usr/share/bash-completion/completions/grub to /etc/bash_completion.d/grub.sh and reload the shell then bash completion of grub2 prefixed commands starts working again.

I noticed that bug #1213855 requested this move out of /etc/bash_completion.d/ .
Comment 1 Gary Ching-Pang Lin 2024-01-26 08:40:15 UTC
Urh, the bash-completion file from grub2 seems not working well in the new directory. That file is still using some deprecated functions not working for /usr/share/bash-completion/completions/ and bash-completion also requires the matching app name there. Will find a proper fix.
Comment 2 Gary Ching-Pang Lin 2024-02-06 06:56:21 UTC
The patch has been submitted to grub2 upstream for review.
https://lists.gnu.org/archive/html/grub-devel/2024-01/msg00111.html