From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10739 invoked from network); 25 Feb 2003 23:03:35 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Feb 2003 23:03:35 -0000 Received: (qmail 22148 invoked by alias); 25 Feb 2003 23:03:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5941 Received: (qmail 22141 invoked from network); 25 Feb 2003 23:03:09 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 25 Feb 2003 23:03:09 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [195.92.193.18] by sunsite.dk (MessageWall 1.0.8) with SMTP; 25 Feb 2003 23:3:9 -0000 Received: from modem-120.banner-wrasse.dialup.pol.co.uk ([62.136.227.120] helo=pwstephenson.fsnet.co.uk) by cmailm1.svr.pol.co.uk with esmtp (Exim 3.35 #1) id 18no6O-0007fy-00 for zsh-users@sunsite.dk; Tue, 25 Feb 2003 23:03:09 +0000 Received: by pwstephenson.fsnet.co.uk (Postfix, from userid 501) id CD1561B76B; Tue, 25 Feb 2003 23:04:42 +0000 (GMT) Received: from pwstephenson.fsnet.co.uk (localhost [127.0.0.1]) by pwstephenson.fsnet.co.uk (Postfix) with ESMTP id AF5C91B76A for ; Tue, 25 Feb 2003 23:04:42 +0000 (GMT) To: zsh-users@sunsite.dk (Zsh users list) Subject: Lukasz Stelmach: question about functions in zsh Date: Tue, 25 Feb 2003 23:04:37 +0000 From: Peter Stephenson Message-Id: <20030225230442.CD1561B76B@pwstephenson.fsnet.co.uk> ------- Forwarded Message Date: Tue, 18 Feb 2003 15:24:34 +0100 From: Lukasz Stelmach To: coordinator@zsh.org Subject: question about functions in zsh Message-ID: <20030218142434.GA2376@tygrys.home.astercity.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i X-Mail-Editor: nvi Greetings!!! First of all, I have searched the documentation and I haven't found the answer so I write to you. Is there any way in zsh to make a function declared with "function name() {..." syntax a global one? That is exported to environment of child processes of zsh which means also other instances of zsh. I would like to define a function in /etc/zlogin or zprofile (a *login* scrpit) and not in zshrc and make it defined for all subprocesses. Have nice day... - -- |/ |_, _ .- --, Już z każdej strony pełzną, potworne rządze |__ |_|. | \ |_|. ._' /_. Będę uprawiał nierząd, za pieniąze ------- End of Forwarded Message