zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
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	[thread overview]
Message-ID: <20030225230442.CD1561B76B@pwstephenson.fsnet.co.uk> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]


------- Forwarded Message

Date: Tue, 18 Feb 2003 15:24:34 +0100
From: Lukasz Stelmach <Lukasz.Stelmach@k.telmark.waw.pl>
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


             reply	other threads:[~2003-02-25 23:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-25 23:04 Peter Stephenson [this message]
2003-02-26  7:36 ` Borzenkov Andrey
2003-02-26 18:38 ` Pavol Juhas

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=20030225230442.CD1561B76B@pwstephenson.fsnet.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-users@sunsite.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).