zsh-users
 help / color / mirror / code / Atom feed
From: Timothy J Luoma <luomat@peak.org>
To: greg haygood <greg@iweb.net>
Cc: zsh-users@math.gatech.edu
Subject: Re: using the "source" command in a "for" loop
Date: Thu,  2 Jan 97 16:12:23 -0500	[thread overview]
Message-ID: <199701022112.NAA14675@PEAK.ORG> (raw)
In-Reply-To: <3.0.32.19970102160304.0098b380@ns1.iweb.net>

Responding To:	greg haygood <greg@iweb.net>
Original Date:	Thu, 02 Jan 1997 16:03:05 -0500
Message-ID: 	<3.0.32.19970102160304.0098b380@ns1.iweb.net>

> # need to export the vars, or they're lost when leaving the loop

Your fix worked.

I guess something changed because this even worked for 3.0.0.  No  
matter, as long as it works now

I changed:
	$i="$ZDOTDIR/$i"
to
	export $i="$ZDOTDIR/$i"

Thanks!

TjL

--
	Tj Luoma (luomat@peak.org)
		http://www.next.peak.org/~luomat
			Awaiting Apple's NeXTStep


       reply	other threads:[~1997-01-02 21:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3.0.32.19970102160304.0098b380@ns1.iweb.net>
1997-01-02 21:12 ` Timothy J Luoma [this message]
1997-01-02 23:12   ` Zoltan Hidvegi
1997-01-03  0:19     ` Timothy J Luoma
1997-01-03  0:51       ` Zoltan Hidvegi
1997-01-02 20:08 Timothy J Luoma

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=199701022112.NAA14675@PEAK.ORG \
    --to=luomat@peak.org \
    --cc=greg@iweb.net \
    --cc=zsh-users@math.gatech.edu \
    /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).