<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Peter Heide &#187; How-To</title>
	<atom:link href="http://peterheide.com/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://peterheide.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 15 Oct 2009 18:33:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Adding an environment variable to Bash PATH in OS X</title>
		<link>http://peterheide.com/2008/10/04/adding-an-environment-variable-to-bash-path-in-os-x/</link>
		<comments>http://peterheide.com/2008/10/04/adding-an-environment-variable-to-bash-path-in-os-x/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 04:18:49 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://peterheide.com/?p=24</guid>
		<description><![CDATA[I can never remember how to add environment variables to .bash_profile. This post just reminds me how to do that. It&#8217;s dead simple. Just open up Terminal and enter the following (changing the path &#8216;/opt/subversion&#8217;, naturally): echo 'export PATH=/opt/subversion:$PATH' &#62;&#62; &#8230; <a href="http://peterheide.com/2008/10/04/adding-an-environment-variable-to-bash-path-in-os-x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I can never remember how to add environment variables to .bash_profile. This post just reminds me how to do that.</p>
<p>It&#8217;s dead simple. Just open up Terminal and enter the following (changing the path &#8216;/opt/subversion&#8217;, naturally):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'export PATH=/opt/subversion:$PATH'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.bash_profile</pre></div></div>

<p>If .bash_profile doesn&#8217;t exist yet (and it doesn&#8217;t by default), it&#8217;ll be created. Otherwise, the environment variable will be added to that file.</p>
<p>Credit to <a href="http://nagpals.com/blog/index.cfm/2007/9/5/Adding-PATH-variable-on-Mac-OSX">Indy Nagpal</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://peterheide.com/2008/10/04/adding-an-environment-variable-to-bash-path-in-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
