From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3105 invoked from network); 7 Jun 2007 20:50:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=no version=3.2.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Jun 2007 20:50:50 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 57229 invoked from network); 7 Jun 2007 20:50:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Jun 2007 20:50:29 -0000 Received: (qmail 480 invoked by alias); 7 Jun 2007 20:50:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23534 Received: (qmail 29721 invoked from network); 7 Jun 2007 20:48:46 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Jun 2007 20:48:46 -0000 Received: (qmail 55607 invoked from network); 7 Jun 2007 20:48:46 -0000 Received: from mx.oak.pl (217.96.108.251) by a.mx.sunsite.dk with SMTP; 7 Jun 2007 20:48:43 -0000 Received: by oak.pl (Postfix, from userid 1002) id 322CF170EE; Thu, 7 Jun 2007 22:48:31 +0200 (CEST) Date: Thu, 7 Jun 2007 22:48:30 +0200 From: Jan Srzednicki To: zsh-workers@sunsite.dk Subject: contributing or adding site-functions Message-ID: <20070607204830.GA53688@oak.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Hello, A while ago I have written a small utility I called rcc, which provides an uniform approach to init scripts on various platforms. It can be found here: http://wrzask.pl/files/zsh_rcc Now I'm thinking about putting it into some system-wide configurations, but I'm a bit lost in there. So, I have two questions: 1. Would it be possible to integrate rcc with zsh distribution pack? I'd like to contribute it, so users would be able to load it as a module, but I'm a bit lost how should I change it to be able to do that. If the answer to the first question would be "yes", could you guys point me some hints on how should I do that? 2. If not, could you tell me how are files in the $PREFIX/share/zsh/site-functions directory treated? Are they just sourced during startup? Please include my address in the reply, as I'm not subscribed to the list. greetings, -- Jan Srzednicki :: http://wrzask.pl/ "Remember, remember, the fifth of November" -- V for Vendetta