zsh-workers
 help / color / mirror / code / Atom feed
From: Frank Terbeck <ft@bewatermyfriend.org>
To: William Giokas <1007380@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: [wgiokas@WST420: Re: Correct installation path for completion files]
Date: Fri, 26 Jul 2013 20:23:06 +0200	[thread overview]
Message-ID: <87d2q5goz9.fsf@ft.bewatermyfriend.org> (raw)
In-Reply-To: <20130726180739.GD6421@WST420> (William Giokas's message of "Fri, 26 Jul 2013 13:07:39 -0500")

William Giokas wrote:
[...]
> I should have made this clearer: I am looking for a generic place to use
> in a distro-agnostic Makefile, not a specfile, PKGBUILD or ebuild. Would
> it be sane to have the default be $datadir/zsh/site-functions, and allow
> Debian and the select few other distros use a ./configure flag to place
> this somewhere else?

It's hard to make it distribution-agnostic. The best way I can think of
is to use the output of this as the destination directory:

  zsh -fc 'print ${fpath[1]}'

Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925


  reply	other threads:[~2013-07-26 18:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 18:07 William Giokas
2013-07-26 18:23 ` Frank Terbeck [this message]
2013-07-26 18:41   ` William Giokas
2013-07-27  0:10     ` Frank Terbeck
2013-07-27  0:10     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2q5goz9.fsf@ft.bewatermyfriend.org \
    --to=ft@bewatermyfriend.org \
    --cc=1007380@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).