zsh-workers
 help / color / mirror / code / Atom feed
* /etc/zsh_completion.d/ in Debian -- useful or harmful?
@ 2009-01-01 20:30 Richard Hartmann
  2009-01-02  3:26 ` Dan Nelson
  2009-01-02 13:21 ` Jörg Sommer
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Hartmann @ 2009-01-01 20:30 UTC (permalink / raw)
  To: 489646, Clint Adams, Zsh Workers

Hi all,

it has been requested[1] that Debian introduces
/etc/zsh_completion.d similar to /etc/bash_completion.d

Pros:

* Package maintainers can introduce their own completions
   independent from upstream
* Users don't need to upgrade zsh in order to get new
   completions for new features in a package
* Completions for different versions of software can be used
   depending on what is actually installed

Cons:

* Upgrades might not make it back upstream
* Broken/stale completions might override Zsh's


What does everyone think of that? Personally, I can't
decide whether this is good or bad. It does have potential
in both directions.


Richard

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489646


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

* Re: /etc/zsh_completion.d/ in Debian -- useful or harmful?
  2009-01-01 20:30 /etc/zsh_completion.d/ in Debian -- useful or harmful? Richard Hartmann
@ 2009-01-02  3:26 ` Dan Nelson
  2009-01-02 15:09   ` Bug#489646: " Clint Adams
  2009-01-02 13:21 ` Jörg Sommer
  1 sibling, 1 reply; 5+ messages in thread
From: Dan Nelson @ 2009-01-02  3:26 UTC (permalink / raw)
  To: Richard Hartmann; +Cc: 489646, Clint Adams, Zsh Workers

In the last episode (Jan 01), Richard Hartmann said:
> it has been requested[1] that Debian introduces
> /etc/zsh_completion.d similar to /etc/bash_completion.d

How does this differ from the existing ${datadir}/zsh/site-functions
directory?  Some FreeBSD port management tools install completion
scripts into that directory and zsh seems to pick them up
automatically, and it looks like some python-twisted Linux rpms install
into site_functions too.

-- 
	Dan Nelson
	dnelson@allantgroup.com


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

* Re: /etc/zsh_completion.d/ in Debian -- useful or harmful?
  2009-01-01 20:30 /etc/zsh_completion.d/ in Debian -- useful or harmful? Richard Hartmann
  2009-01-02  3:26 ` Dan Nelson
@ 2009-01-02 13:21 ` Jörg Sommer
  1 sibling, 0 replies; 5+ messages in thread
From: Jörg Sommer @ 2009-01-02 13:21 UTC (permalink / raw)
  To: zsh-workers

Hi Richard,

"Richard Hartmann" <richih.mailinglist@gmail.com> wrote:
> it has been requested[1] that Debian introduces
> /etc/zsh_completion.d similar to /etc/bash_completion.d

Are completion functions configuration files? Why should they be neath of
/etc? I would reject this request and point the package maintainer to
/usr/share/zsh/functions. The admin can still place it's completion
functions in /etc/zsh.

Bye, Jörg.
-- 
Mancher Hahn meint, dass die Sonne seinetwegen aufgeht.
                                               (Theodor Fontane)


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

* Re: Bug#489646: /etc/zsh_completion.d/ in Debian -- useful or harmful?
  2009-01-02  3:26 ` Dan Nelson
@ 2009-01-02 15:09   ` Clint Adams
  2009-01-02 17:10     ` Danek Duvall
  0 siblings, 1 reply; 5+ messages in thread
From: Clint Adams @ 2009-01-02 15:09 UTC (permalink / raw)
  To: Dan Nelson, 489646; +Cc: Richard Hartmann, Zsh Workers

On Thu, Jan 01, 2009 at 09:26:33PM -0600, Dan Nelson wrote:
> How does this differ from the existing ${datadir}/zsh/site-functions
> directory?  Some FreeBSD port management tools install completion
> scripts into that directory and zsh seems to pick them up
> automatically, and it looks like some python-twisted Linux rpms install
> into site_functions too.

In Debian's case, the site-functions directory is reserved strictly
for the machine's administrator(s), and thus packages are forbidden
to populate it.


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

* Re: Bug#489646: /etc/zsh_completion.d/ in Debian -- useful or harmful?
  2009-01-02 15:09   ` Bug#489646: " Clint Adams
@ 2009-01-02 17:10     ` Danek Duvall
  0 siblings, 0 replies; 5+ messages in thread
From: Danek Duvall @ 2009-01-02 17:10 UTC (permalink / raw)
  To: Dan Nelson, 489646, Richard Hartmann, Zsh Workers

On Fri, Jan 02, 2009 at 03:09:14PM +0000, Clint Adams wrote:

> On Thu, Jan 01, 2009 at 09:26:33PM -0600, Dan Nelson wrote:
> > How does this differ from the existing ${datadir}/zsh/site-functions
> > directory?  Some FreeBSD port management tools install completion
> > scripts into that directory and zsh seems to pick them up
> > automatically, and it looks like some python-twisted Linux rpms install
> > into site_functions too.
> 
> In Debian's case, the site-functions directory is reserved strictly
> for the machine's administrator(s), and thus packages are forbidden
> to populate it.

What Perl has done, and what Sun has done for its Python distribution as
well, is to introduce a vendor-packages (for Python; vendor_perl for perl)
directory which is for packaged modules which can thus conflict with
neither the core modules nor with anything installed by hand.  That's one
way past this particular objection.  I agree that for packaged functions,
though, a place under /usr is more appropriate than under /etc.

Danek


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

end of thread, other threads:[~2009-01-02 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-01 20:30 /etc/zsh_completion.d/ in Debian -- useful or harmful? Richard Hartmann
2009-01-02  3:26 ` Dan Nelson
2009-01-02 15:09   ` Bug#489646: " Clint Adams
2009-01-02 17:10     ` Danek Duvall
2009-01-02 13:21 ` Jörg Sommer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).