<?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: A Better Ls for Mac OS&#160;X</title>
	<atom:link href="http://hocuspokus.net/2008/01/a-better-ls-for-mac-os-x/feed" rel="self" type="application/rss+xml" />
	<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX</link>
	<description>the life and times of a code monkey</description>
	<lastBuildDate>Thu, 11 Mar 2010 10:11:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daz</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-1110</link>
		<dc:creator>Daz</dc:creator>
		<pubDate>Sat, 20 Feb 2010 14:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-1110</guid>
		<description>&lt;p&gt;Hi Sean,&lt;/p&gt;

&lt;p&gt;Sure, just put the bit of the config relevant to dircolors in the file &lt;code&gt;/etc/profile&lt;/code&gt;:&lt;/p&gt;

&lt;p&gt;&lt;pre lang=&quot;bash&quot;&gt;
if [ &quot;$TERM&quot; != &quot;dumb&quot; ]; then
    export LS_OPTIONS=&#039;--color=auto&#039;
    eval &lt;code&gt;dircolors ~/.dir_colors&lt;/code&gt;
fi
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Then any system user will inherit this config.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Sean,</p>

<p>Sure, just put the bit of the config relevant to dircolors in the file <code>/etc/profile</code>:</p>

<p>

</p>
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$TERM</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;dumb&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LS_OPTIONS</span>=<span style="color: #ff0000;">'--color=auto'</span>
    <span style="color: #7a0874; font-weight: bold;">eval</span> <span style="color: #000000; font-weight: bold;">&lt;</span>code<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #c20cb9; font-weight: bold;">dircolors</span> ~<span style="color: #000000; font-weight: bold;">/</span>.dir_colors<span style="color: #000000; font-weight: bold;">&lt;/</span>code<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>




<p>Then any system user will inherit this config.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Lerner</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-1109</link>
		<dc:creator>Sean Lerner</dc:creator>
		<pubDate>Sat, 20 Feb 2010 00:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-1109</guid>
		<description>&lt;p&gt;Is it possible to carry over the dircolors to when I switch to root?&lt;/p&gt;

&lt;p&gt;I usually switch to root by using:&lt;/p&gt;

&lt;p&gt;sudo -s&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt;Sean&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Is it possible to carry over the dircolors to when I switch to root?</p>

<p>I usually switch to root by using:</p>

<p>sudo -s</p>

<p>Thanks.</p>

<p>Sean</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Färgkoda terminalen – Macbloggen</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-1107</link>
		<dc:creator>Färgkoda terminalen – Macbloggen</dc:creator>
		<pubDate>Sun, 14 Feb 2010 00:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-1107</guid>
		<description>&lt;p&gt;[...] Det lägger till raden export CLICOLOR=1 i filen .bash_profile om den finns, annars skapas en ny fil med det namnet. Starta om terminalen och njut av det färgglada gränssnittet. Vill man gå ännu längre och anpassa färgerna med likt GNU/Linux finns en bra guide här. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[&#8230;] Det lägger till raden export CLICOLOR=1 i filen .bash_profile om den finns, annars skapas en ny fil med det namnet. Starta om terminalen och njut av det färgglada gränssnittet. Vill man gå ännu längre och anpassa färgerna med likt GNU/Linux finns en bra guide här. [&#8230;]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Qualis</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-1094</link>
		<dc:creator>Richard Qualis</dc:creator>
		<pubDate>Thu, 24 Dec 2009 16:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-1094</guid>
		<description>&lt;p&gt;Thanks for this post.  I love my mac now...no more falling asleep due to boring screen. Shweeet :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for this post.  I love my mac now&#8230;no more falling asleep due to boring screen. Shweeet <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Qualis</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-1093</link>
		<dc:creator>Richard Qualis</dc:creator>
		<pubDate>Thu, 24 Dec 2009 15:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-1093</guid>
		<description>&lt;p&gt;gls etc will work.  So if you change your .profile_bash or .profile file to use gls instead of ls you will be a happy camper&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>gls etc will work.  So if you change your .profile_bash or .profile file to use gls instead of ls you will be a happy camper</p>]]></content:encoded>
	</item>
	<item>
		<title>By: UNIXgod</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-1092</link>
		<dc:creator>UNIXgod</dc:creator>
		<pubDate>Wed, 23 Dec 2009 03:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-1092</guid>
		<description>&lt;p&gt;Just wanted to add if you don&#039;t want the coreutils in your path as they could conflict with other programs. You could simply compile the port without default name -with_default_names&lt;/p&gt;

&lt;p&gt;this would ensure less problems. even freebsd utilizes stallman&#039;s ls by prefixing it as gnuls.&lt;/p&gt;

&lt;p&gt;for zsh users this would be appropriate for your rc file:&lt;/p&gt;

&lt;p&gt;eval $(gdircolors ~/.dir_colors)
zstyle &#039;:completion:*&#039; list-colors &quot;${(s.:.)LS_COLORS}&quot;
alias ls=&#039;gls --color=auto -F&#039;&lt;/p&gt;

&lt;p&gt;another note. if you wish to use the BSD ls with color it is as simple as exporting CLICOLOR=1 to your rc file.&lt;/p&gt;

&lt;p&gt;If you want to switch between the both after aliasing a single back`tick or quote will help. &#039;ls&#039; -G will show some colors as well as adding -F for your folder/ and links@&lt;/p&gt;

&lt;p&gt;Hope this info helped supplement the blog-post.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Just wanted to add if you don&#8217;t want the coreutils in your path as they could conflict with other programs. You could simply compile the port without default name -with_default_names</p>

<p>this would ensure less problems. even freebsd utilizes stallman&#8217;s ls by prefixing it as gnuls.</p>

<p>for zsh users this would be appropriate for your rc file:</p>

<p>eval $(gdircolors ~/.dir_colors)
zstyle &#8216;:completion:*&#8217; list-colors &#8220;${(s.:.)LS_COLORS}&#8221;
alias ls=&#8217;gls &#8212;color=auto -F&#8217;</p>

<p>another note. if you wish to use the BSD ls with color it is as simple as exporting CLICOLOR=1 to your rc file.</p>

<p>If you want to switch between the both after aliasing a single back`tick or quote will help. &#8216;ls&#8217; -G will show some colors as well as adding -F for your folder/ and links@</p>

<p>Hope this info helped supplement the blog-post.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin McDonagh</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-1089</link>
		<dc:creator>Kevin McDonagh</dc:creator>
		<pubDate>Fri, 11 Dec 2009 21:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-1089</guid>
		<description>&lt;p&gt;I&#039;ve been using this for a good while now. Thanks very much for the introduction to the core utils.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using this for a good while now. Thanks very much for the introduction to the core utils.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jokka's me2DAY</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-1049</link>
		<dc:creator>jokka's me2DAY</dc:creator>
		<pubDate>Sat, 26 Sep 2009 07:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-1049</guid>
		<description>&lt;p&gt;&lt;strong&gt;ì´ˆì²œìž¬ì˜ ìƒê°...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A beeter ls for Mac OS X...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>ì´ˆì²œìž¬ì˜ ìƒê°&#8230;</strong></p>

<p>A beeter ls for Mac OS X&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: n179911</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-961</link>
		<dc:creator>n179911</dc:creator>
		<pubDate>Tue, 07 Jul 2009 23:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-961</guid>
		<description>&lt;p&gt;Thank you. But how to add more colors than the ones listed below.&lt;/p&gt;

&lt;p&gt;Below are the color init strings for the basic file types. A color init string consists of one or more of the following numeric codes:&lt;/p&gt;

&lt;p&gt;Attribute codes:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Text color codes:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Background color codes:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white&lt;/pre&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you. But how to add more colors than the ones listed below.</p>

<p>Below are the color init strings for the basic file types. A color init string consists of one or more of the following numeric codes:</p>

<p>Attribute codes:</p>

<p><pre>00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed</pre></p>

<p>Text color codes:</p>

<p><pre>30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white</pre></p>

<p>Background color codes:</p>

<p><pre>40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white</pre></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Daz</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2Fa-better-ls-for-mac-os-x&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1#comment-960</link>
		<dc:creator>Daz</dc:creator>
		<pubDate>Tue, 07 Jul 2009 20:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-960</guid>
		<description>&lt;p&gt;@n179911 Yup, should work just fine. :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@n179911 Yup, should work just fine. <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->