From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19057 invoked from network); 6 Jan 2000 22:23:37 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Jan 2000 22:23:37 -0000 Received: (qmail 15484 invoked by alias); 6 Jan 2000 22:23:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9258 Received: (qmail 15475 invoked from network); 6 Jan 2000 22:23:21 -0000 To: "ZSH workers mailing list" Subject: Re: Version-dependent functions install path References: MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 07 Jan 2000 07:23:18 +0900 In-Reply-To: Peter Stephenson's message of "Thu, 06 Jan 2000 20:20:54 +0000" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article , Peter Stephenson writes: > I hope the choice of path (default > `/usr/local/share/zsh/functions/3.1.6-dev-14', mutatis mutandis) is > rational. The version-specific bit comes last, as with the module path, > and the `share' remains present, despite the version-dependence, because it > refers to the absence of machine-dependence (it worried me at first, but > actually I've just noticed Emacs does exactly the same with its lisp code). > Indeed, this will make it easier to share functions across architectures > potentially running different versions of the shell. 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. Also when a lazy administrater install zsh-3.1.7 over zsh-3.1.6, a directory structure stays somewhat clean. 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. -- Tanaka Akira