public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Purpose of bashcomp_alias in bash-completion-r1.eclass?
@ 2014-11-30 15:07 Florian Gamböck
  2014-11-30 15:27 ` [gentoo-user] " James
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Gamböck @ 2014-11-30 15:07 UTC (permalink / raw
  To: gentoo-user

Good day!

Before reporting a bug I wanted to hear other opinions on that: In 
bash-completion-r1.eclass, what is the true purpose of bashcomp_alias? 
For now I only see error messages when trying to "eselect bashcomp 
enable" two aliases of the same script because of the same linkname. 
What benefit could one gain in aliasing their completion script to 
differnet names?

In fact I find this confusing and highly contradicting, because you 
obviously can enable only one alias at the same time, but actually with 
enabling one you automatically enable all the others, since they are 
symlinks. Then why even bothering with those aliases? (Actual example: 
app-text/calibre-1.48-r1, which installs 14 or so aliases to the exact 
same completion script.)

--
Flo


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

* [gentoo-user] Re: Purpose of bashcomp_alias in bash-completion-r1.eclass?
  2014-11-30 15:07 [gentoo-user] Purpose of bashcomp_alias in bash-completion-r1.eclass? Florian Gamböck
@ 2014-11-30 15:27 ` James
  2014-11-30 15:57   ` Florian Gamböck
  0 siblings, 1 reply; 3+ messages in thread
From: James @ 2014-11-30 15:27 UTC (permalink / raw
  To: gentoo-user

Florian Gamböck <ml <at> floga.de> writes:


> Before reporting a bug I wanted to hear other opinions on that: In 
> bash-completion-r1.eclass, what is the true purpose of bashcomp_alias? 

There was a detailed discussion in gentoo-dev that is excellent
reading on this issue:


[gentoo-dev] [news item review] bash-completion-2.1-r90, version 2
circa 11/10/14.


hth,
James






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

* Re: [gentoo-user] Re: Purpose of bashcomp_alias in bash-completion-r1.eclass?
  2014-11-30 15:27 ` [gentoo-user] " James
@ 2014-11-30 15:57   ` Florian Gamböck
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Gamböck @ 2014-11-30 15:57 UTC (permalink / raw
  To: gentoo-user

Am 30.11.2014 um 16:27 schrieb James:
> [gentoo-dev] [news item review] bash-completion-2.1-r90, version 2
> circa 11/10/14.

Thank you, that was really worth reading.

I'm not completely convinced yet, but it may be a starting point for 
further investigations.

--
Flo


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

end of thread, other threads:[~2014-11-30 15:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-30 15:07 [gentoo-user] Purpose of bashcomp_alias in bash-completion-r1.eclass? Florian Gamböck
2014-11-30 15:27 ` [gentoo-user] " James
2014-11-30 15:57   ` Florian Gamböck

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