<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Lazy environment variables</title>
	<atom:link href="http://existentialtype.net/2008/03/05/lazy-environment-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://existentialtype.net/2008/03/05/lazy-environment-variables/</link>
	<description>For People Who Like Type and Types</description>
	<lastBuildDate>Thu, 10 May 2012 12:36:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: washburn</title>
		<link>http://existentialtype.net/2008/03/05/lazy-environment-variables/comment-page-1/#comment-21981</link>
		<dc:creator>washburn</dc:creator>
		<pubDate>Thu, 06 Mar 2008 10:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://existentialtype.net/2008/03/05/lazy-environment-variables/#comment-21981</guid>
		<description>@Matt: That is a reasonable solution for most things, I&#039;ll have to see if I can use it to simplify my &lt;code&gt;.zshrc&lt;/code&gt; and &lt;code&gt;.zshenv&lt;/code&gt; files.  Unfortunately, it does not entirely solve the problem with special variables like &lt;code&gt;PATH&lt;/code&gt; that you do not generally examine directly.  

The other issue is that in general this sort of thing is basically dynamic binding, so it might be nice to think about whether there is a better way to do things that would maintain lexical binding.</description>
		<content:encoded><![CDATA[<p>@Matt: That is a reasonable solution for most things, I&#8217;ll have to see if I can use it to simplify my <code>.zshrc</code> and <code>.zshenv</code> files.  Unfortunately, it does not entirely solve the problem with special variables like <code>PATH</code> that you do not generally examine directly.  </p>
<p>The other issue is that in general this sort of thing is basically dynamic binding, so it might be nice to think about whether there is a better way to do things that would maintain lexical binding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hellige</title>
		<link>http://existentialtype.net/2008/03/05/lazy-environment-variables/comment-page-1/#comment-21978</link>
		<dc:creator>Matt Hellige</dc:creator>
		<pubDate>Wed, 05 Mar 2008 14:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://existentialtype.net/2008/03/05/lazy-environment-variables/#comment-21978</guid>
		<description>export FOO=&#039;$BAR/foo&#039;
export BAR=bar
echo ${(e)FOO}

That sort of does what you want. I have no idea if it&#039;s really a good idea... Shells are really ridiculous little languages.</description>
		<content:encoded><![CDATA[<p>export FOO=&#8217;$BAR/foo&#8217;<br />
export BAR=bar<br />
echo ${(e)FOO}</p>
<p>That sort of does what you want. I have no idea if it&#8217;s really a good idea&#8230; Shells are really ridiculous little languages.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

