| Summary: | bash-completion is broken for "less" | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Aurelian R <arusanu> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Low | CC: | andrewsfarm, brtians1, geiger.david68210, marja11, sysadmin-bugs, tarazed25 |
| Version: | 9 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA9-64-OK | ||
| Source RPM: | less-632-1.mga9.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
patch to fix bash completion
Suggested Advisory Typo correction in advisory |
||
Fixed both mga9 and Cauldron! CC:
(none) =>
geiger.david68210 Assigning to QA, Packages in 9/Core/Updates_testing: ====================== less-632-1.1.mga9 From SRPMS: less-632-1.1.mga9.src.rpm Assignee:
bugsquad =>
qa-bugs MGA9-64, plasma installed used less, seems to be working. Not sure how to set up less for bash-completion though. CC:
(none) =>
brtians1
katnatek
2024-02-12 20:41:35 CET
Keywords:
(none) =>
feedback (In reply to Aurelian R from comment #0) > Created attachment 14370 [details] > patch to fix bash completion > > bash completion for "less" is broken on both Mageia 9 and Cauldron. > > Attached is a patch for less.spec file that should make it work again. Can you give an example? I see /etc/bash_completion.d/less_completion (with other files) and the changes move the file to /etc/bash_completion.d/completions/less_completion Tested both distributions and less looks OK for me. (In reply to Brian Rockwell from comment #3) > used less, seems to be working. Not sure how to set up less for > bash-completion though. Have bash-completion installed(sudo urpmi bash-completion). With old package less-632-1.mga9 installed, in a terminal with bash( echo $SHELL should post /bin/bash) type as you see: less -<TAB> and nothing happens, where <TAB> means pressing TAB key. After updating less package to less-632-1.1.mga9 and refreshed bash environment for your terminal or use a new bash terminal, type: less -<TAB>L<TAB>I<TAB> now you should see what bash-completion does for less command. Regards. Tested in real hardware mageia x86_64 I already have bash-completions rpm -q bash-completion bash-completion-2.11-2.mga9 less -<TAB> Does nothing Update to testing version less -<TAB> Now shows the options you can use Keywords:
feedback =>
(none)
katnatek
2024-02-12 21:55:40 CET
CC:
(none) =>
marja11, tarazed25 Created attachment 14371 [details]
Suggested Advisory
Validating. Keywords:
(none) =>
validated_update
Marja Van Waes
2024-02-14 16:34:34 CET
Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0053.html Resolution:
(none) =>
FIXED |
Created attachment 14370 [details] patch to fix bash completion bash completion for "less" is broken on both Mageia 9 and Cauldron. Attached is a patch for less.spec file that should make it work again.