Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574570 - app-shells/bash-completion-2.1_p20141224-r1 "eselect bashcomp disable" command disables also all substring commands
Summary: app-shells/bash-completion-2.1_p20141224-r1 "eselect bashcomp disable" comman...
Status: VERIFIED DUPLICATE of bug 571588
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-12 17:40 UTC by eNca
Modified: 2016-02-19 06:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eNca 2016-02-12 17:40:03 UTC
When I disable bash completion for gitk then bash completion for git is also disabled but eselect bashcomp list says that completion for git is enabled.

Reproducible: Always

Steps to Reproduce:
1. run as root: eselect bashcomp enable --global git
2. run as root: eselect bashcomp enable --global gitk
3. as a regular user type 'git com'<TAB> - the word commit appears on command line
4. run as root: eselect bashcomp disable --global gitk
5. as a regular user logout from system and login again. Then type 'git com'<TAB> on the command line. The word 'command' is not completed now.
6. as a regular user run: 'eselect bashcomp list |grep git'
Actual Results:  
In step 6 asterisk appears on the 'git' line - so git seems to be enabled but it does not work. 

Expected Results:  
When I disable bash completion for gitk command then it cannot change completion settigs for git command.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-02-18 22:55:35 UTC
Please test the patch attached to bug #571588.

*** This bug has been marked as a duplicate of bug 571588 ***
Comment 2 eNca 2016-02-18 23:30:40 UTC
Patch provided in Bug 571588 works for me.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-02-19 06:54:00 UTC
(In reply to eNca from comment #2)
> Patch provided in Bug 571588 works for me.

Thanks for testing. I'll try to wrap up a release as soon as I get home, in 5-6 hours from now.