From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16221 invoked by alias); 26 Jul 2013 18:32:49 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31583 Received: (qmail 26741 invoked from network); 26 Jul 2013 18:32:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: William Giokas <1007380@gmail.com> Cc: zsh-workers@zsh.org Subject: Re: [wgiokas@WST420: Re: Correct installation path for completion files] In-Reply-To: <20130726180739.GD6421@WST420> (William Giokas's message of "Fri, 26 Jul 2013 13:07:39 -0500") References: <20130726180739.GD6421@WST420> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Date: Fri, 26 Jul 2013 20:23:06 +0200 Message-ID: <87d2q5goz9.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: [pbs]MzQ5NTM4 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