public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge bash-completion
@ 2015-05-06  8:54 Behrouz Khosravi
  2015-05-06  9:09 ` [gentoo-user] " Nikos Chantziaras
  2015-05-06  9:21 ` [gentoo-user] " Dale
  0 siblings, 2 replies; 17+ messages in thread
From: Behrouz Khosravi @ 2015-05-06  8:54 UTC (permalink / raw
  To: gentoo-user

hello everyone. I have a problem with bash-completion with emerge 
command for packages. when I press tab-tab it only shows "world" and 
"system" but I was working OK before, I mean It was able to show the list of 
packages. Is anything changed?


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user] Re: emerge bash-completion
  2015-05-06  8:54 [gentoo-user] emerge bash-completion Behrouz Khosravi
@ 2015-05-06  9:09 ` Nikos Chantziaras
  2015-05-06  9:17   ` Behrouz Khosravi
  2015-05-06  9:21 ` [gentoo-user] " Dale
  1 sibling, 1 reply; 17+ messages in thread
From: Nikos Chantziaras @ 2015-05-06  9:09 UTC (permalink / raw
  To: gentoo-user

On 06/05/15 11:54, Behrouz Khosravi wrote:
> hello everyone. I have a problem with bash-completion with emerge
> command for packages. when I press tab-tab it only shows "world" and
> "system" but I was working OK before, I mean It was able to show the list of
> packages. Is anything changed?

It does that here, but it seems I need to press tab three times, not two.



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: emerge bash-completion
  2015-05-06  9:09 ` [gentoo-user] " Nikos Chantziaras
@ 2015-05-06  9:17   ` Behrouz Khosravi
  2015-05-06  9:44     ` Nikos Chantziaras
  0 siblings, 1 reply; 17+ messages in thread
From: Behrouz Khosravi @ 2015-05-06  9:17 UTC (permalink / raw
  To: gentoo-user

On Wednesday, May 06, 2015 12:09:57 PM Nikos Chantziaras wrote:
> It does that here, but it seems I need to press tab three times, not two.

well three times did not change anything. The problem is that I cant 
remember since when this feature is broke, so I can relate it to something!


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] emerge bash-completion
  2015-05-06  8:54 [gentoo-user] emerge bash-completion Behrouz Khosravi
  2015-05-06  9:09 ` [gentoo-user] " Nikos Chantziaras
@ 2015-05-06  9:21 ` Dale
  2015-05-06  9:30   ` Behrouz Khosravi
  1 sibling, 1 reply; 17+ messages in thread
From: Dale @ 2015-05-06  9:21 UTC (permalink / raw
  To: gentoo-user

Behrouz Khosravi wrote:
> hello everyone. I have a problem with bash-completion with emerge 
> command for packages. when I press tab-tab it only shows "world" and 
> "system" but I was working OK before, I mean It was able to show the list of 
> packages. Is anything changed?
>
>


I get this here:

root@fireball / # emerge  <tab-tab>
Display all 162 possibilities? (y or n)
app-accessibility/  app-misc/           dev-lang/          
games-board/        gnustep-base/       media-libs/        
net-news/           sci-visualization/  www-apache/
app-admin/          app-mobilephone/    dev-libs/          
games-emulation/    gnustep-libs/       media-plugins/     
net-nntp/           sec-policy/         www-apps/
app-antivirus/      app-office/         dev-lisp/          
games-engines/      gpe-base/           media-radio/       
net-p2p/            sys-apps/           www-client/
app-arch/           app-officeext/      dev-lua/           
games-fps/          gpe-utils/          media-sound/       
net-print/          sys-auth/           www-misc/
app-backup/         app-pda/            dev-ml/            
games-kids/         java-virtuals/      media-tv/          
net-proxy/          sys-block/          www-plugins/
app-benchmarks/     app-portage/        dev-perl/          
games-misc/         kde-base/           media-video/       
net-voip/           sys-boot/           www-servers/
app-cdr/            app-shells/         dev-php/           
games-mud/          kde-frameworks/     net-analyzer/      
net-wireless/       sys-cluster/        x11-apps/
app-crypt/          app-text/           dev-python/        
games-puzzle/       kde-misc/           net-dialup/        
perl-core/          sys-devel/          x11-base/
app-dicts/          app-vim/            dev-qt/            
games-roguelike/    kde-plasma/         net-dns/           
sci-astronomy/      sys-firmware/       x11-drivers/
app-doc/            app-xemacs/         dev-ruby/          
games-rpg/          lxde-base/          net-firewall/      
sci-biology/        sys-freebsd/        x11-libs/
app-editors/        dev-ada/            dev-scheme/        
games-server/       lxqt-base/          net-fs/            
sci-calculators/    sys-fs/             x11-misc/
app-emacs/          dev-cpp/            dev-tcltk/         
games-simulation/   mail-client/        net-ftp/           
sci-chemistry/      sys-infiniband/     x11-plugins/
app-emulation/      dev-db/             dev-tex/           
games-sports/       mail-filter/        net-im/            
sci-electronics/    sys-kernel/         x11-proto/
app-eselect/        dev-dotnet/         dev-texlive/       
games-strategy/     mail-mta/           net-irc/           
sci-geosciences/    sys-libs/           x11-terms/
app-forensics/      dev-embedded/       dev-util/          
games-util/         mate-base/          net-libs/          
sci-libs/           sys-power/          x11-themes/
app-i18n/           dev-games/          dev-vcs/           
gnome-base/         mate-extra/         net-mail/          
sci-mathematics/    sys-process/        x11-wm/
app-laptop/         dev-haskell/        games-action/      
gnome-extra/        media-fonts/        net-misc/          
sci-misc/           system              xfce-base/
app-leechcraft/     dev-java/           games-arcade/      
gnustep-apps/       media-gfx/          net-nds/           
sci-physics/        world               xfce-extra/
root@fireball / # equery list -p bash-completion
 * Searching for bash-completion ...
[-P-] [  ] app-shells/bash-completion-1.3-r2:0
[-P-] [  ] app-shells/bash-completion-2.1:0
[-P-] [  ] app-shells/bash-completion-2.1-r2:0
[-P-] [  ] app-shells/bash-completion-2.1-r91:0
[-P-] [  ] app-shells/bash-completion-2.1-r92:0
[-P-] [  ] app-shells/bash-completion-2.1-r93:0
[IP-] [  ] app-shells/bash-completion-2.1_p20141224:0
root@fireball / #

Hope that helps. 

Dale

:-)  :-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] emerge bash-completion
  2015-05-06  9:21 ` [gentoo-user] " Dale
@ 2015-05-06  9:30   ` Behrouz Khosravi
  2015-05-06  9:37     ` Dale
  0 siblings, 1 reply; 17+ messages in thread
From: Behrouz Khosravi @ 2015-05-06  9:30 UTC (permalink / raw
  To: gentoo-user

On Wednesday, May 06, 2015 04:21:45 AM Dale wrote:

> root@fireball / # equery list -p bash-completion
>  * Searching for bash-completion ...
> [-P-] [  ] app-shells/bash-completion-1.3-r2:0
> [-P-] [  ] app-shells/bash-completion-2.1:0
> [-P-] [  ] app-shells/bash-completion-2.1-r2:0
> [-P-] [  ] app-shells/bash-completion-2.1-r91:0
> [-P-] [  ] app-shells/bash-completion-2.1-r92:0
> [-P-] [  ] app-shells/bash-completion-2.1-r93:0
> [IP-] [  ] app-shells/bash-completion-2.1_p20141224:0
> root@fireball / #
> 
> Hope that helps.
> 
> Dale * Searching for bash-completion ...
[-P-] [  ] app-shells/bash-completion-1.3-r2:0
[-P-] [ ~] app-shells/bash-completion-2.1:0
[IP-] [  ] app-shells/bash-completion-2.1-r2:0
[-P-] [ ~] app-shells/bash-completion-2.1-r91:0
[-P-] [ ~] app-shells/bash-completion-2.1-r92:0
[-P-] [ ~] app-shells/bash-completion-2.1-r93:0
[-P-] [ ~] app-shells/bash-completion-2.1_p20141224:0

Sorry, but I can not understand what -P- and IP- means?

> 

This is my output:



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] emerge bash-completion
  2015-05-06  9:30   ` Behrouz Khosravi
@ 2015-05-06  9:37     ` Dale
  2015-05-06  9:50       ` Behrouz Khosravi
  0 siblings, 1 reply; 17+ messages in thread
From: Dale @ 2015-05-06  9:37 UTC (permalink / raw
  To: gentoo-user

Behrouz Khosravi wrote:
> On Wednesday, May 06, 2015 04:21:45 AM Dale wrote:
>
>> root@fireball / # equery list -p bash-completion
>>  * Searching for bash-completion ...
>> [-P-] [  ] app-shells/bash-completion-1.3-r2:0
>> [-P-] [  ] app-shells/bash-completion-2.1:0
>> [-P-] [  ] app-shells/bash-completion-2.1-r2:0
>> [-P-] [  ] app-shells/bash-completion-2.1-r91:0
>> [-P-] [  ] app-shells/bash-completion-2.1-r92:0
>> [-P-] [  ] app-shells/bash-completion-2.1-r93:0
>> [IP-] [  ] app-shells/bash-completion-2.1_p20141224:0
>> root@fireball / #
>>
>> Hope that helps.
>>
>> Dale * Searching for bash-completion ...
> [-P-] [  ] app-shells/bash-completion-1.3-r2:0
> [-P-] [ ~] app-shells/bash-completion-2.1:0
> [IP-] [  ] app-shells/bash-completion-2.1-r2:0
> [-P-] [ ~] app-shells/bash-completion-2.1-r91:0
> [-P-] [ ~] app-shells/bash-completion-2.1-r92:0
> [-P-] [ ~] app-shells/bash-completion-2.1-r93:0
> [-P-] [ ~] app-shells/bash-completion-2.1_p20141224:0
>
> Sorry, but I can not understand what -P- and IP- means?
>
> This is my output:
>
>
>

The P means it is in the portage tree.  The I means that it is
installed.  Based on your info, you are using a older version of
bash-completion than I am. 

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user] Re: emerge bash-completion
  2015-05-06  9:17   ` Behrouz Khosravi
@ 2015-05-06  9:44     ` Nikos Chantziaras
  2015-05-06  9:51       ` Behrouz Khosravi
  2015-05-06 21:01       ` »Q«
  0 siblings, 2 replies; 17+ messages in thread
From: Nikos Chantziaras @ 2015-05-06  9:44 UTC (permalink / raw
  To: gentoo-user

On 06/05/15 12:17, Behrouz Khosravi wrote:
> On Wednesday, May 06, 2015 12:09:57 PM Nikos Chantziaras wrote:
>> It does that here, but it seems I need to press tab three times, not two.
>
> well three times did not change anything. The problem is that I cant
> remember since when this feature is broke, so I can relate it to something!

Well, it could be that you have a mix of the old bashcomp system 
together with the new one and that cause issues.

If that is the case, then in order to completely transition to the new 
system, you would have to re-emerge everything that installs bashcomp 
files. Also, delete all your bashcomp eselect files. The new system has 
everything enabled by default and eselect is used to actually disable 
bashcomp for all packages and whitelist the only you enable. This can 
cause problems if you have old and new files lying around.

I think there was a news item on how to transition from the old to the 
new setup. No idea where to find it if you don't have it in "eselect 
news list" anymore :-/



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] emerge bash-completion
  2015-05-06  9:37     ` Dale
@ 2015-05-06  9:50       ` Behrouz Khosravi
  2015-05-06 15:08         ` Dale
  0 siblings, 1 reply; 17+ messages in thread
From: Behrouz Khosravi @ 2015-05-06  9:50 UTC (permalink / raw
  To: gentoo-user

On Wednesday, May 06, 2015 04:37:55 AM Dale wrote:

> > This is my output:
> The P means it is in the portage tree.  The I means that it is
> installed.  Based on your info, you are using a older version of
> bash-completion than I am.
> 
> Dale
> 
> :-)  :-)

Thanks, Are you on ~AMD64 ?
My version is the last in stable.
I added keyword, but It will install newer version of bash too. Is it stable ?


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: emerge bash-completion
  2015-05-06  9:44     ` Nikos Chantziaras
@ 2015-05-06  9:51       ` Behrouz Khosravi
  2015-05-06 21:01       ` »Q«
  1 sibling, 0 replies; 17+ messages in thread
From: Behrouz Khosravi @ 2015-05-06  9:51 UTC (permalink / raw
  To: gentoo-user

On Wednesday, May 06, 2015 12:44:16 PM Nikos Chantziaras wrote:

> I think there was a news item on how to transition from the old to the
> new setup. No idea where to find it if you don't have it in "eselect
> news list" anymore :-/

Thanks. I will try to find it.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] emerge bash-completion
  2015-05-06  9:50       ` Behrouz Khosravi
@ 2015-05-06 15:08         ` Dale
  2015-05-06 15:21           ` [gentoo-user] emerge bash-completion [solved] Behrouz Khosravi
  2015-05-06 21:07           ` [gentoo-user] Re: emerge bash-completion »Q«
  0 siblings, 2 replies; 17+ messages in thread
From: Dale @ 2015-05-06 15:08 UTC (permalink / raw
  To: gentoo-user

Behrouz Khosravi wrote:
> On Wednesday, May 06, 2015 04:37:55 AM Dale wrote:
>
>>> This is my output:
>> The P means it is in the portage tree.  The I means that it is
>> installed.  Based on your info, you are using a older version of
>> bash-completion than I am.
>>
>> Dale
>>
>> :-)  :-)
> Thanks, Are you on ~AMD64 ?
> My version is the last in stable.
> I added keyword, but It will install newer version of bash too. Is it stable ?
>
>


I'm using this version of bash, which I'm sure is the keyworded version.

app-shells/bash-4.3_p33-r2

I don't know of any issues so I guess it is OK but your system may be
different too. 

This was mentioned in another reply but I'm putting the info here for
you.  This is the news item for this which could be the problem. 

root@fireball / # eselect news read 19
2014-11-25-bash-completion-2_1-r90
  Title                     bash-completion-2.1-r90
  Author                    Michał Górny <mgorny@gentoo.org>
  Posted                    2014-11-25
  Revision                  1

Starting with app-shells/bash-completion-2.1-r90, the framework used to
enable and manage completions in Gentoo is finally changing in order to
properly follow upstream design. This has some important implications
for our users.

Firstly, the install location for completions changes to follow upstream
default. The completions enabled before the upgrade will continue to
work but you may no longer be able to enable or disable completions
installed prior to the upgrade. To solve this issue, the packages
installing completions need to rebuilt. The following command can be
used to automatically rebuild all the relevant packages:

$ find /usr/share/bash-completion -maxdepth 1 -type f \
        '!' -name 'bash_completion' -exec emerge -1v {} +

Secondly, the autoloading support introduced upstream removes the
penalties involved with enabling a great number of completions. This
allowed us to switch to an opt-out model where all completions installed
after the upgrade are enabled by default. Specific completions can be
disabled using 'eselect bashcomp disable ...'

The model change implies that all current selections done using 'eselect
bashcomp' can not be properly migrated and will be disregarded when
the relevant completion files are built against the new bash-completion
version. After rebuilding all the packages providing completion files,
you may want to remove the symlinks that were used to configure
the previous framework using the following command:

$ find /etc/bash_completion.d -type l -delete

Thirdly, we have solved the issue causing bash-completion support to be
enabled by default on login shells only. If you needed to explicitly
source 'bash_completion' script in bashrc, you can safely remove that
code now since system-wide bashrc takes care of loading it.

Lastly, we would like to explain that USE=bash-completion is being
removed from packages for the completions will be installed
unconditionally now. However, this will result in some implicit
dependencies being removed. Most specifically, users wishing to use
bash-completion will have to request app-shells/bash-completion
explicitly, e.g.:

$ emerge -n app-shells/bash-completion

root@fireball / #


Maybe that will fix it and you can stay stable.  Maybe.  ;-)

Dale

:-)  :-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] emerge bash-completion [solved]
  2015-05-06 15:08         ` Dale
@ 2015-05-06 15:21           ` Behrouz Khosravi
  2015-05-06 21:07           ` [gentoo-user] Re: emerge bash-completion »Q«
  1 sibling, 0 replies; 17+ messages in thread
From: Behrouz Khosravi @ 2015-05-06 15:21 UTC (permalink / raw
  To: gentoo-user

On Wednesday, May 06, 2015 10:08:11 AM Dale wrote:

> 
> Maybe that will fix it and you can stay stable.  Maybe.  ;-)
> 
 Thank you. I installed that and saw the news too.
It is working again, but it seems I have a lot to rebuild!



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user] Re: emerge bash-completion
  2015-05-06  9:44     ` Nikos Chantziaras
  2015-05-06  9:51       ` Behrouz Khosravi
@ 2015-05-06 21:01       ` »Q«
  2015-05-07  6:47         ` Alan McKinnon
  1 sibling, 1 reply; 17+ messages in thread
From: »Q« @ 2015-05-06 21:01 UTC (permalink / raw
  To: gentoo-user

On Wed, 06 May 2015 12:44:16 +0300
Nikos Chantziaras <realnc@gmail.com> wrote:

> If that is the case, then in order to completely transition to the
> new system, you would have to re-emerge everything that installs
> bashcomp files. Also, delete all your bashcomp eselect files. The new
> system has everything enabled by default and eselect is used to
> actually disable bashcomp for all packages and whitelist the only you
> enable. This can cause problems if you have old and new files lying
> around.

Thanks for this.  I'm not the OP, but broken bash completion has
been bothering me for a while.  Somehow I'd gotten the mistaken
impression that it was supposed to heal itself over time as the
programs that install bashcomp files were rebuilt with updates, without
me having deal with any cruft.

> I think there was a news item on how to transition from the old to
> the new setup. No idea where to find it if you don't have it in
> "eselect news list" anymore :-/

At the time, I was on the lookout for such a news item and I never saw
one.  Always possible that was my fault, but I really think there was
no such item.

Also, if I've correctly understood what you wrote above,
<https://wiki.gentoo.org/wiki/Bash#Tab_completion> needs an overhaul.
(Conversely, if it doesn't need an overhaul, my understanding is still
faulty and I'll be back for some hand-holding!)



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user] Re: emerge bash-completion
  2015-05-06 15:08         ` Dale
  2015-05-06 15:21           ` [gentoo-user] emerge bash-completion [solved] Behrouz Khosravi
@ 2015-05-06 21:07           ` »Q«
  2015-05-07  0:20             ` Dale
  1 sibling, 1 reply; 17+ messages in thread
From: »Q« @ 2015-05-06 21:07 UTC (permalink / raw
  To: gentoo-user

On Wed, 06 May 2015 10:08:11 -0500
Dale <rdalek1967@gmail.com> wrote:

> I'm using this version of bash, which I'm sure is the keyworded
> version.
> 
> app-shells/bash-4.3_p33-r2
> 
> I don't know of any issues so I guess it is OK but your system may be
> different too. 
> 
> This was mentioned in another reply but I'm putting the info here for
> you.  This is the news item for this which could be the problem. 
> 
> root@fireball / # eselect news read 19
> 2014-11-25-bash-completion-2_1-r90
>   Title                     bash-completion-2.1-r90
>   Author                    Michał Górny <mgorny@gentoo.org>
>   Posted                    2014-11-25
>   Revision                  1

I'm happy to retract my seconds-ago post saying I didn't think there
was a news item.  Earlier today, I was chastising someone (mildly I
hope) in another venue for not reading all new posts in a thread before
jumping in, so I guess it was inevitable I would do the same damned
thing.

Thanks, Dale. :)



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: emerge bash-completion
  2015-05-06 21:07           ` [gentoo-user] Re: emerge bash-completion »Q«
@ 2015-05-07  0:20             ` Dale
  2015-05-07  2:59               ` »Q«
  0 siblings, 1 reply; 17+ messages in thread
From: Dale @ 2015-05-07  0:20 UTC (permalink / raw
  To: gentoo-user

»Q« wrote:
> On Wed, 06 May 2015 10:08:11 -0500
> Dale <rdalek1967@gmail.com> wrote:
>
>> I'm using this version of bash, which I'm sure is the keyworded
>> version.
>>
>> app-shells/bash-4.3_p33-r2
>>
>> I don't know of any issues so I guess it is OK but your system may be
>> different too. 
>>
>> This was mentioned in another reply but I'm putting the info here for
>> you.  This is the news item for this which could be the problem. 
>>
>> root@fireball / # eselect news read 19
>> 2014-11-25-bash-completion-2_1-r90
>>   Title                     bash-completion-2.1-r90
>>   Author                    Michał Górny <mgorny@gentoo.org>
>>   Posted                    2014-11-25
>>   Revision                  1
> I'm happy to retract my seconds-ago post saying I didn't think there
> was a news item.  Earlier today, I was chastising someone (mildly I
> hope) in another venue for not reading all new posts in a thread before
> jumping in, so I guess it was inevitable I would do the same damned
> thing.
>
> Thanks, Dale. :)
>
>
>


Well, someone else here said they didn't see it either.  Who knows.  ;-)

Dale

:-)  :-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user] Re: emerge bash-completion
  2015-05-07  0:20             ` Dale
@ 2015-05-07  2:59               ` »Q«
  0 siblings, 0 replies; 17+ messages in thread
From: »Q« @ 2015-05-07  2:59 UTC (permalink / raw
  To: gentoo-user

On Wed, 06 May 2015 19:20:43 -0500
Dale <rdalek1967@gmail.com> wrote:

> »Q« wrote:
> > On Wed, 06 May 2015 10:08:11 -0500
> > Dale <rdalek1967@gmail.com> wrote:

> >> root@fireball / # eselect news read 19
> >> 2014-11-25-bash-completion-2_1-r90

> > I'm happy to retract my seconds-ago post saying I didn't think
> > there was a news item.  
> 
> Well, someone else here said they didn't see it either.  Who
> knows.  ;-)

Some news items are delivered based on what you have installed.  
He and I hadn't seen it yet because we hadn't yet upgraded 
to >=bash-completion-2.1-r90






^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [gentoo-user] Re: emerge bash-completion
  2015-05-06 21:01       ` »Q«
@ 2015-05-07  6:47         ` Alan McKinnon
  2015-05-07 14:53           ` »Q«
  0 siblings, 1 reply; 17+ messages in thread
From: Alan McKinnon @ 2015-05-07  6:47 UTC (permalink / raw
  To: gentoo-user

On 06/05/2015 23:01, »Q« wrote:
> On Wed, 06 May 2015 12:44:16 +0300
> Nikos Chantziaras <realnc@gmail.com> wrote:
> 
>> If that is the case, then in order to completely transition to the
>> new system, you would have to re-emerge everything that installs
>> bashcomp files. Also, delete all your bashcomp eselect files. The new
>> system has everything enabled by default and eselect is used to
>> actually disable bashcomp for all packages and whitelist the only you
>> enable. This can cause problems if you have old and new files lying
>> around.
> 
> Thanks for this.  I'm not the OP, but broken bash completion has
> been bothering me for a while.  Somehow I'd gotten the mistaken
> impression that it was supposed to heal itself over time as the
> programs that install bashcomp files were rebuilt with updates, without
> me having deal with any cruft.
> 
>> I think there was a news item on how to transition from the old to
>> the new setup. No idea where to find it if you don't have it in
>> "eselect news list" anymore :-/
> 
> At the time, I was on the lookout for such a news item and I never saw
> one.  Always possible that was my fault, but I really think there was
> no such item.
> 
> Also, if I've correctly understood what you wrote above,
> <https://wiki.gentoo.org/wiki/Bash#Tab_completion> needs an overhaul.
> (Conversely, if it doesn't need an overhaul, my understanding is still
> faulty and I'll be back for some hand-holding!)
> 
> 


There was a news item, I've pasted the whole thing here for you

2014-11-25-bash-completion-2_1-r90
  Title                     bash-completion-2.1-r90
  Author                    Michał Górny <mgorny@gentoo.org>
  Posted                    2014-11-25
  Revision                  1

Starting with app-shells/bash-completion-2.1-r90, the framework used to
enable and manage completions in Gentoo is finally changing in order to
properly follow upstream design. This has some important implications
for our users.

Firstly, the install location for completions changes to follow upstream
default. The completions enabled before the upgrade will continue to
work but you may no longer be able to enable or disable completions
installed prior to the upgrade. To solve this issue, the packages
installing completions need to rebuilt. The following command can be
used to automatically rebuild all the relevant packages:

$ find /usr/share/bash-completion -maxdepth 1 -type f \
        '!' -name 'bash_completion' -exec emerge -1v {} +

Secondly, the autoloading support introduced upstream removes the
penalties involved with enabling a great number of completions. This
allowed us to switch to an opt-out model where all completions installed
after the upgrade are enabled by default. Specific completions can be
disabled using 'eselect bashcomp disable ...'

The model change implies that all current selections done using 'eselect
bashcomp' can not be properly migrated and will be disregarded when
the relevant completion files are built against the new bash-completion
version. After rebuilding all the packages providing completion files,
you may want to remove the symlinks that were used to configure
the previous framework using the following command:

$ find /etc/bash_completion.d -type l -delete

Thirdly, we have solved the issue causing bash-completion support to be
enabled by default on login shells only. If you needed to explicitly
source 'bash_completion' script in bashrc, you can safely remove that
code now since system-wide bashrc takes care of loading it.

Lastly, we would like to explain that USE=bash-completion is being
removed from packages for the completions will be installed
unconditionally now. However, this will result in some implicit
dependencies being removed. Most specifically, users wishing to use
bash-completion will have to request app-shells/bash-completion
explicitly, e.g.:

$ emerge -n app-shells/bash-completion


-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [gentoo-user] Re: emerge bash-completion
  2015-05-07  6:47         ` Alan McKinnon
@ 2015-05-07 14:53           ` »Q«
  0 siblings, 0 replies; 17+ messages in thread
From: »Q« @ 2015-05-07 14:53 UTC (permalink / raw
  To: gentoo-user

On Thu, 07 May 2015 08:47:34 +0200
Alan McKinnon <alan.mckinnon@gmail.com> wrote:

> On 06/05/2015 23:01, »Q« wrote:

> > At the time, I was on the lookout for such a news item and I never
> > saw one.  Always possible that was my fault, but I really think
> > there was no such item.
> > 
> > Also, if I've correctly understood what you wrote above,
> > <https://wiki.gentoo.org/wiki/Bash#Tab_completion> needs an
> > overhaul. (Conversely, if it doesn't need an overhaul, my
> > understanding is still faulty and I'll be back for some
> > hand-holding!)
> 
> There was a news item, I've pasted the whole thing here for you

Thank you very much.

And the wiki page section I cited is quite correct for stable users.

AIUI now, the situation boils down to:  Stable bash-completion is old
and broken, and new better bash-completion is in place but not yet
marked stable.

If that's not right, I beg for another correction, please.  :)






^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-05-07 14:53 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06  8:54 [gentoo-user] emerge bash-completion Behrouz Khosravi
2015-05-06  9:09 ` [gentoo-user] " Nikos Chantziaras
2015-05-06  9:17   ` Behrouz Khosravi
2015-05-06  9:44     ` Nikos Chantziaras
2015-05-06  9:51       ` Behrouz Khosravi
2015-05-06 21:01       ` »Q«
2015-05-07  6:47         ` Alan McKinnon
2015-05-07 14:53           ` »Q«
2015-05-06  9:21 ` [gentoo-user] " Dale
2015-05-06  9:30   ` Behrouz Khosravi
2015-05-06  9:37     ` Dale
2015-05-06  9:50       ` Behrouz Khosravi
2015-05-06 15:08         ` Dale
2015-05-06 15:21           ` [gentoo-user] emerge bash-completion [solved] Behrouz Khosravi
2015-05-06 21:07           ` [gentoo-user] Re: emerge bash-completion »Q«
2015-05-07  0:20             ` Dale
2015-05-07  2:59               ` »Q«

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox