zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: Re: Version-dependent functions install path
Date: Fri, 07 Jan 2000 22:26:07 +0000	[thread overview]
Message-ID: <E126hnm-0000Ph-00.2000-01-07-22-24-11@cmailg2.svr.pol.co.uk> (raw)
In-Reply-To: "Tanaka Akira"'s message of "07 Jan 2000 07:23:18 +0900." <rsqembu4z6x.fsf@crane.jaist.ac.jp>

Tanaka Akira wrote:
> I think DATADIR/zsh/VERSION/functions is better than
> DATADIR/zsh/functions/VERSION because it enables us to collect version
> specific stuff other than functions.  

Actually, this is also just like Emacs.

> Also when a lazy administrater
> install zsh-3.1.7 over zsh-3.1.6, a directory structure stays somewhat
> clean.

I suppose you mean that the zsh-3.1.7 directory isn't buried among lots of
files or irrelevant subdirectories.

> Also, DATADIR/zsh/VERSION/site-functions and
> DATADIR/zsh/site-functions should be exist for site specific
> modifications and add-on packages.  Currently there is no add-on
> packages, though.

I wondered about this, but it's so easy to add in /etc/zshenv that I didn't
add it.  But maybe something will turn up that makes it more obviously useful.

Index: INSTALL
===================================================================
--- INSTALL	2000/01/07 19:42:02	1.3
+++ INSTALL	2000/01/07 19:42:34
@@ -247,7 +247,7 @@
 By default, the shell functions which are installed with `make install' or
 `make install.fns' go into the directory ${datadir}/zsh/functions, which
 unless you have specified --datadir is the same as
-${prefix}/share/zsh/functions/$ZSH_VERSION ($prefix itself defaults to
+${prefix}/share/zsh/$ZSH_VERSION/functions ($prefix itself defaults to
 /usr/local, as described below).  This directory will also be compiled into
 the shell as the default directory for the variable $fpath/$FPATH. You can
 override it with --enable-fndir=directory; --disable-fndir or
Index: configure.in
===================================================================
--- configure.in	2000/01/07 19:42:02	1.12
+++ configure.in	2000/01/07 19:42:24
@@ -214,10 +214,10 @@
 AC_ARG_ENABLE(fndir,
 [  --enable-fndir=DIR         where functions go (default DATADIR/zsh/functions)],
 [if test $enableval = yes; then
-  fndir=${datadir}/${tzsh_name}/functions/${VERSION}
+  fndir=${datadir}/${tzsh_name}/${VERSION}/functions
 else
   fndir="$enableval"
-fi], [fndir=${datadir}/${tzsh_name}/functions/${VERSION}])
+fi], [fndir=${datadir}/${tzsh_name}/${VERSION}/functions])
 
 undefine([function_subdirs])
 AC_ARG_ENABLE(function-subdirs,

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


  reply	other threads:[~2000-01-07 22:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-06  7:04 Andrej Borsenkow
2000-01-06  8:06 ` dev-14 problem - can't load zsh/complete " Andrej Borsenkow
2000-01-06 10:50 ` Oliver Kiddle
2000-01-06 20:20 ` Peter Stephenson
2000-01-06 22:23   ` Tanaka Akira
2000-01-07 22:26     ` Peter Stephenson [this message]
2000-01-09  2:58       ` Tanaka Akira

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=E126hnm-0000Ph-00.2000-01-07-22-24-11@cmailg2.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).