<?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>My Science Is Better &#187; .bashrc</title>
	<atom:link href="http://www.myscienceisbetter.info/tag/bashrc/feed" rel="self" type="application/rss+xml" />
	<link>http://www.myscienceisbetter.info</link>
	<description></description>
	<lastBuildDate>Sat, 20 Mar 2010 16:16:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enable ls color support</title>
		<link>http://www.myscienceisbetter.info/enable-ls-color-support.html</link>
		<comments>http://www.myscienceisbetter.info/enable-ls-color-support.html#comments</comments>
		<pubDate>Fri, 08 Jan 2010 10:51:59 +0000</pubDate>
		<dc:creator>Romeo Adrian Cioaba</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[.bashrc]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.myscienceisbetter.info/?p=127</guid>
		<description><![CDATA[By default i like to use the Green on Black color scheme with my terminals. When i enable the theme though, ls loses somehow the ability to show files in colors. The trick to enable the feature is simple. One just has to run ls like this:
ls --color=auto
Unfortunately this won't stick, and it'a a bit [...]]]></description>
			<content:encoded><![CDATA[<p>By default i like to use the Green on Black color scheme with my terminals. When i enable the theme though, ls loses somehow the ability to show files in colors. The trick to enable the feature is simple. One just has to run ls like this:</p>
<pre class="brush: bash;">ls --color=auto</pre>
<p>Unfortunately this won't stick, and it'a a bit of a drag to always add the --color=auto part. To solve this, one has to create an alias to ls to point to ls --color=auto. You can do this by adding the following to ~/.bashrc</p>
<pre class="brush: bash;">
# enable color support of ls and also add handy aliases
if [ &quot;$TERM&quot; != &quot;dumb&quot; ]; then
    eval &quot;`dircolors -b`&quot;
    alias ls='ls --color=auto'
fi
</pre>
<p>Tada!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myscienceisbetter.info/enable-ls-color-support.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
