Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: using the "source" command in a "for" loop



Timothy J Luoma wrote:
> > eval $i='"$ZDOTDIR/$i"'
> 
> Is there any reason to use "eval" over "export"?

export sets the environment which eval doesn't which means tha export
requires a bit more memory and it will increase the size of every child
processes a little bit afterwards.  And some environment variables have
special meanings to applications.

Zoltan



Messages sorted by: Reverse Date, Date, Thread, Author