<?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/04/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%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX</link>
	<description>the life and times of a code monkey</description>
	<pubDate>Wed, 07 Jan 2009 10:12:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Amish</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-496</link>
		<dc:creator>Amish</dc:creator>
		<pubDate>Thu, 30 Oct 2008 11:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-496</guid>
		<description>Hi,

may be this is not the right place to ask, but is there a way to remove the "last login and so on..." string that appears everytime Terminal is opened? I'd like a clean prompt.

Kind regards

Amish</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>may be this is not the right place to ask, but is there a way to remove the &#8220;last login and so on&#8230;&#8221; string that appears everytime Terminal is opened? I&#8217;d like a clean prompt.</p>
<p>Kind regards</p>
<p>Amish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elfar</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-472</link>
		<dc:creator>Elfar</dc:creator>
		<pubDate>Thu, 16 Oct 2008 06:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-472</guid>
		<description>Works like a charm, thanks</description>
		<content:encoded><![CDATA[<p>Works like a charm, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robbie</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-420</link>
		<dc:creator>robbie</dc:creator>
		<pubDate>Mon, 18 Aug 2008 16:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-420</guid>
		<description>thanks a lot of the guide, i've got it working except for one thing. my folders/files with full permission are shown with a blue text on green  34;42 which i do not have listed in the dir_colors from your site. I can hardly read the folder names and want to get rid of it .. is there another setting that is over riding the ones from here?

any help would be greatly welcomed.</description>
		<content:encoded><![CDATA[<p>thanks a lot of the guide, i&#8217;ve got it working except for one thing. my folders/files with full permission are shown with a blue text on green  34;42 which i do not have listed in the dir_colors from your site. I can hardly read the folder names and want to get rid of it .. is there another setting that is over riding the ones from here?</p>
<p>any help would be greatly welcomed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pseudo-Morph</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-407</link>
		<dc:creator>Pseudo-Morph</dc:creator>
		<pubDate>Wed, 23 Jul 2008 13:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-407</guid>
		<description>Ok, ignore me. It helps if you look *really* closely at what you're doing. Nigel's approach did work when I implemented it correctly.

I am now one very happy camper.</description>
		<content:encoded><![CDATA[<p>Ok, ignore me. It helps if you look *really* closely at what you&#8217;re doing. Nigel&#8217;s approach did work when I implemented it correctly.</p>
<p>I am now one very happy camper.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pseudo-Morph</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-406</link>
		<dc:creator>Pseudo-Morph</dc:creator>
		<pubDate>Wed, 23 Jul 2008 12:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-406</guid>
		<description>Ok, so I speak too soon. Any idea why the prompt colours work but none of the other file associations work? 

Adding a semi-colon to line 40 of .dir_colors as suggested above works to colour directories however results in the error 'dircolors: /Users/pseudomorph/.dir_colors:40: invalid line;  missing second token'.

This approach does not seem to work for other file associations. Any clues welcome.</description>
		<content:encoded><![CDATA[<p>Ok, so I speak too soon. Any idea why the prompt colours work but none of the other file associations work? </p>
<p>Adding a semi-colon to line 40 of .dir_colors as suggested above works to colour directories however results in the error &#8216;dircolors: /Users/pseudomorph/.dir_colors:40: invalid line;  missing second token&#8217;.</p>
<p>This approach does not seem to work for other file associations. Any clues welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pseudo-Morph</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-404</link>
		<dc:creator>Pseudo-Morph</dc:creator>
		<pubDate>Tue, 22 Jul 2008 12:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-404</guid>
		<description>Daz, thanks very much. I have just got this working on my Macbook.

For those that are interested I used fink to install the package 'coreutils-default' which is pretty much the same package from what I can tell.

The one difference I discovered using fink is the path variable within the .bash_profile. While you could just change this to read 'export PATH=/sw/bin:/sw/sbin:$PATH' fink also comes with a binary file (init.sh for Bash or init.csh for tcsh) that exports your path for you. 

In this instance I added the line '. /sw/bin/init.sh' to my .bash_profile. If you are using tcsh you will need to add the line 'source /sw/bin/init.csh' to your relevevent config file.

Now if only I could change that gawdy blue used for folders to something readable...</description>
		<content:encoded><![CDATA[<p>Daz, thanks very much. I have just got this working on my Macbook.</p>
<p>For those that are interested I used fink to install the package &#8216;coreutils-default&#8217; which is pretty much the same package from what I can tell.</p>
<p>The one difference I discovered using fink is the path variable within the .bash_profile. While you could just change this to read &#8216;export PATH=/sw/bin:/sw/sbin:$PATH&#8217; fink also comes with a binary file (init.sh for Bash or init.csh for tcsh) that exports your path for you. </p>
<p>In this instance I added the line &#8216;. /sw/bin/init.sh&#8217; to my .bash_profile. If you are using tcsh you will need to add the line &#8216;source /sw/bin/init.csh&#8217; to your relevevent config file.</p>
<p>Now if only I could change that gawdy blue used for folders to something readable&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Ruder</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-400</link>
		<dc:creator>Ed Ruder</dc:creator>
		<pubDate>Thu, 17 Jul 2008 05:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-400</guid>
		<description>@Nigel: Your solution was the solution to my problem on OS X Leopard! Thanks very much, Daz!</description>
		<content:encoded><![CDATA[<p>@Nigel: Your solution was the solution to my problem on OS X Leopard! Thanks very much, Daz!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nigel Green</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-398</link>
		<dc:creator>Nigel Green</dc:creator>
		<pubDate>Tue, 15 Jul 2008 14:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-398</guid>
		<description>Many thanks for this article - just what I needed! I had some trouble getting anything other than plain white text at first, but the answer for me was an extra semi-colon in the color refs (so DIR 0136 becomes DIR 01;36 for example). Thanks also to dotfiles.org for providing other peoples config files to crib from...</description>
		<content:encoded><![CDATA[<p>Many thanks for this article - just what I needed! I had some trouble getting anything other than plain white text at first, but the answer for me was an extra semi-colon in the color refs (so DIR 0136 becomes DIR 01;36 for example). Thanks also to dotfiles.org for providing other peoples config files to crib from&#8230;</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%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-395</link>
		<dc:creator>Daz</dc:creator>
		<pubDate>Thu, 10 Jul 2008 17:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-395</guid>
		<description>&gt; &lt;code&gt;[ dweber melovg5 ~ ] bash --version
GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0)&lt;/code&gt;

Have you got the MacPorts version of &lt;code&gt;ls&lt;/code&gt; installed and in use? Try the following:

&lt;code&gt;ls --version&lt;/code&gt;

It should give you &lt;code&gt;ls (GNU coreutils) 6.9&lt;/code&gt;, if you get the following:

&lt;code&gt;ls: illegal option -- -
usage: ls [-ABCFGHLPRSTWabcdefghiklmnopqrstuwx1] [file ...]&lt;/code&gt;

then the MacPorts version of &lt;code&gt;ls&lt;/code&gt; is not in use...  Make sure you have installed it, then add the following to the top of your &lt;code&gt;.bash_profile&lt;/code&gt; file:

&lt;code&gt;# MacPorts
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH&lt;/code&gt;

then quit Terminal and start it up again - see how that goes.

&gt; How do these .dir_colors settings interact with the terminal preference settings?

The terminal preference settings only affects the base colour of the text - in my screen shot, green on a black background.  The .dir_colors file is used to manipulate the colour of files/folders depending on what they are.</description>
		<content:encoded><![CDATA[<p>> <code>[ dweber melovg5 ~ ] bash --version<br />
GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0)</code></p>
<p>Have you got the MacPorts version of <code>ls</code> installed and in use? Try the following:</p>
<p><code>ls --version</code></p>
<p>It should give you <code>ls (GNU coreutils) 6.9</code>, if you get the following:</p>
<p><code>ls: illegal option -- -<br />
usage: ls [-ABCFGHLPRSTWabcdefghiklmnopqrstuwx1] [file ...]</code></p>
<p>then the MacPorts version of <code>ls</code> is not in use&#8230;  Make sure you have installed it, then add the following to the top of your <code>.bash_profile</code> file:</p>
<p><code># MacPorts<br />
export PATH=/opt/local/bin:/opt/local/sbin:$PATH<br />
export MANPATH=/opt/local/share/man:$MANPATH</code></p>
<p>then quit Terminal and start it up again - see how that goes.</p>
<p>> How do these .dir_colors settings interact with the terminal preference settings?</p>
<p>The terminal preference settings only affects the base colour of the text - in my screen shot, green on a black background.  The .dir_colors file is used to manipulate the colour of files/folders depending on what they are.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F01%2F04%2Fa-better-ls-for-mac-os-x%2F&amp;seed_title=A+Better+Ls+for+Mac+OS%26%23160%3BX/comment-page-1/#comment-393</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Wed, 09 Jul 2008 22:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://hocuspokus.net/2008/01/04/a-better-ls-for-mac-os-x/#comment-393</guid>
		<description>&lt;blockquote&gt;By still boring, do you mean that the directories are just plain blue?

If they're blue - things are working, if you want to play with the colours just edit the &lt;code&gt;.dir_colors&lt;/code&gt; file to get something more to your tastes.

If the directories are still green somethings gone wrong there...&lt;/blockquote&gt;

I have the same experience on Leopard (10.5.4) using Terminal with xterm-color and bash:

&lt;code&gt;[ dweber melovg5 ~ ] bash --version
GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0)&lt;/code&gt;

All entries in the directory listing are green text.  How do these .dir_colors settings interact with the terminal preference settings?</description>
		<content:encoded><![CDATA[<blockquote><p>By still boring, do you mean that the directories are just plain blue?</p>
<p>If they&#8217;re blue - things are working, if you want to play with the colours just edit the <code>.dir_colors</code> file to get something more to your tastes.</p>
<p>If the directories are still green somethings gone wrong there&#8230;</p></blockquote>
<p>I have the same experience on Leopard (10.5.4) using Terminal with xterm-color and bash:</p>
<p><code>[ dweber melovg5 ~ ] bash --version<br />
GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0)</code></p>
<p>All entries in the directory listing are green text.  How do these .dir_colors settings interact with the terminal preference settings?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.962 seconds -->
