public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] What has bash_compleion done to me, and I to it?
@ 2009-05-19 15:24 felix
  2009-05-19 15:37 ` Xavier Parizet
  2009-05-19 16:51 ` [gentoo-user] What has bash_completion " Stroller
  0 siblings, 2 replies; 6+ messages in thread
From: felix @ 2009-05-19 15:24 UTC (permalink / raw
  To: gentoo-user

I used to not know about bash completion, and all was fine.  Then I
read a bit about it and gave it a try, and all was still fine, and
pretty handy.  But somewhere along the way, bash completion has
screwed up, and now various things which used to work before bash
completion no longer work.  Such as

   cd $WWW/<tab>

where $WWW is one of my shell env vars.  It just dings, refuses to
complete.  I have to cd $WWW then cd again.

Or

    vi `ls /usr/port<tab>`

It won't complete anything inside back quotes.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



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

* Re: [gentoo-user] What has bash_compleion done to me, and I to it?
  2009-05-19 15:24 [gentoo-user] What has bash_compleion done to me, and I to it? felix
@ 2009-05-19 15:37 ` Xavier Parizet
  2009-05-19 16:33   ` felix
  2009-05-19 16:51 ` [gentoo-user] What has bash_completion " Stroller
  1 sibling, 1 reply; 6+ messages in thread
From: Xavier Parizet @ 2009-05-19 15:37 UTC (permalink / raw
  To: gentoo-user

On Tue, 19 May 2009 08:24:57 -0700, felix@crowfix.com wrote:
> I used to not know about bash completion, and all was fine.  Then I
> read a bit about it and gave it a try, and all was still fine, and
> pretty handy.  But somewhere along the way, bash completion has
> screwed up, and now various things which used to work before bash
> completion no longer work.  Such as
> 
>    cd $WWW/<tab>
> 
> where $WWW is one of my shell env vars.  It just dings, refuses to
> complete.  I have to cd $WWW then cd again.
> 
> Or
> 
>     vi `ls /usr/port<tab>`
> 
> It won't complete anything inside back quotes.

Which version of bash-completion do you use ?
If it is 0.20081219-r1 or earlier, configuration has change as notified by
ELOG summary after updating it, now you need to use eselect to enable
bash-completion.

Try as root : eselect bashcomp enable --global base and eselect bashcomp
enable --global gentoo to get some basics...
As a normal user, remove the --global switch.

HTH.

-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    DC81 6FEE 6EBE FCE4 
1C18 202F E575 4A5D 036D 1408



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

* Re: [gentoo-user] What has bash_compleion done to me, and I to it?
  2009-05-19 15:37 ` Xavier Parizet
@ 2009-05-19 16:33   ` felix
  0 siblings, 0 replies; 6+ messages in thread
From: felix @ 2009-05-19 16:33 UTC (permalink / raw
  To: gentoo-user

On Tue, May 19, 2009 at 05:37:10PM +0200, Xavier Parizet wrote:
> Which version of bash-completion do you use ?

app-shells/bash-completion-1.0-r3

> Try as root : eselect bashcomp enable --global base and eselect bashcomp
> enable --global gentoo to get some basics...
> As a normal user, remove the --global switch.

I had already done that, but I did it again just to be sure --

    Xyzzy=1;while [ $Xyzzy -lt 74 ]; do eselect bashcomp enable $Xyzzy --global; Xyzzy=`expr $Xyzzy + 1`; done

and all came thru as already enabled.

These completion errors I get are of two kinds: it does not work at
all inside backquotes, and it doesn't work following env vars.  It
does work elsewhere, and does have a few foibles where programs don't
recognize certain file types and I have to trick it, but generally it
works as expected outside back quotes and without env vars.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



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

* Re: [gentoo-user] What has bash_completion done to me, and I to it?
  2009-05-19 15:24 [gentoo-user] What has bash_compleion done to me, and I to it? felix
  2009-05-19 15:37 ` Xavier Parizet
@ 2009-05-19 16:51 ` Stroller
  2009-05-19 17:04   ` felix
  1 sibling, 1 reply; 6+ messages in thread
From: Stroller @ 2009-05-19 16:51 UTC (permalink / raw
  To: gentoo-user


On 19 May 2009, at 16:24, felix@crowfix.com wrote:

> I used to not know about bash completion, and all was fine.  Then I
> read a bit about it and gave it a try, and all was still fine, and
> pretty handy.  But somewhere along the way, bash completion has
> screwed up, and now various things which used to work before bash
> completion no longer work. ...

My experience with Gentoo's extended bash completion has not been  
positive.

After reading other posters negative comments in this thread, I just  
gave up on it.
http://www.gossamer-threads.com/lists/gentoo/user/179589

Stroller.



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

* Re: [gentoo-user] What has bash_completion done to me, and I to it?
  2009-05-19 16:51 ` [gentoo-user] What has bash_completion " Stroller
@ 2009-05-19 17:04   ` felix
  2009-05-19 18:12     ` Stroller
  0 siblings, 1 reply; 6+ messages in thread
From: felix @ 2009-05-19 17:04 UTC (permalink / raw
  To: gentoo-user

On Tue, May 19, 2009 at 05:51:43PM +0100, Stroller wrote:

> After reading other posters negative comments in this thread, I just  
> gave up on it.
> http://www.gossamer-threads.com/lists/gentoo/user/179589

Heh ... I added a comment to that thread and hoped it owuld eventually
be solved, but I guess not.  Maybe it would be better to just dump it
altogether.  It doesn't provide a whole lot of vital functionality.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



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

* Re: [gentoo-user] What has bash_completion done to me, and I to it?
  2009-05-19 17:04   ` felix
@ 2009-05-19 18:12     ` Stroller
  0 siblings, 0 replies; 6+ messages in thread
From: Stroller @ 2009-05-19 18:12 UTC (permalink / raw
  To: gentoo-user


On 19 May 2009, at 18:04, felix@crowfix.com wrote:

> On Tue, May 19, 2009 at 05:51:43PM +0100, Stroller wrote:
>
>> After reading other posters negative comments in this thread, I just
>> gave up on it.
>> http://www.gossamer-threads.com/lists/gentoo/user/179589
>
> Heh ... I added a comment to that thread and hoped it owuld eventually
> be solved, but I guess not.  Maybe it would be better to just dump it
> altogether.  It doesn't provide a whole lot of vital functionality.

Yeah, I meant to say in my previous post that I think the best  
approach is to set USE="-bash-completion" in make.conf when the system  
in installed, and then never change it.

On a system which I changed from bash-completion to -bash-completion,  
it just kinda seems like it's still not right sometime later. I'm sure  
it's possible to remove all residue & remnants of Gentoo's bash  
completion "hack", but I have no idea where it's all stored.

Stroller.




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

end of thread, other threads:[~2009-05-19 18:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19 15:24 [gentoo-user] What has bash_compleion done to me, and I to it? felix
2009-05-19 15:37 ` Xavier Parizet
2009-05-19 16:33   ` felix
2009-05-19 16:51 ` [gentoo-user] What has bash_completion " Stroller
2009-05-19 17:04   ` felix
2009-05-19 18:12     ` Stroller

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