Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: using the "source" command in a "for" loop
- X-seq: zsh-users 577
- From: Timothy J Luoma <luomat@xxxxxxxx>
- To: greg haygood <greg@xxxxxxxx>
- Subject: Re: using the "source" command in a "for" loop
- Date: Thu, 2 Jan 97 16:12:23 -0500
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <3.0.32.19970102160304.0098b380@xxxxxxxxxxxx>
- Organization: Princeton Theological Seminary
- References: <3.0.32.19970102160304.0098b380@xxxxxxxxxxxx>
- Reply-to: luomat@xxxxxxxx
Responding To: greg haygood <greg@xxxxxxxx>
Original Date: Thu, 02 Jan 1997 16:03:05 -0500
Message-ID: <3.0.32.19970102160304.0098b380@xxxxxxxxxxxx>
> # 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@xxxxxxxx)
http://www.next.peak.org/~luomat
Awaiting Apple's NeXTStep
Messages sorted by:
Reverse Date,
Date,
Thread,
Author