<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Kommentare zu: Farben in der BASH</title>
	<link>http://blog.netzpiraten.ch/farben-in-der-bash/</link>
	<description>cat /dev/brain</description>
	<pubDate>Tue, 07 Sep 2010 17:31:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: michi</title>
		<link>http://blog.netzpiraten.ch/farben-in-der-bash/#comment-3</link>
		<dc:creator>michi</dc:creator>
		<pubDate>Tue, 12 Sep 2006 09:24:10 +0000</pubDate>
		<guid>http://blog.netzpiraten.ch/farben-in-der-bash/#comment-3</guid>
		<description>Besonders hilfreich finde ich bei Bash Prompt von Alfred, dass der Benzuername rot ist, falls man als Root angemeldet ist.</description>
		<content:encoded><![CDATA[<p>Besonders hilfreich finde ich bei Bash Prompt von Alfred, dass der Benzuername rot ist, falls man als Root angemeldet ist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alfred</title>
		<link>http://blog.netzpiraten.ch/farben-in-der-bash/#comment-2</link>
		<dc:creator>alfred</dc:creator>
		<pubDate>Tue, 12 Sep 2006 06:15:01 +0000</pubDate>
		<guid>http://blog.netzpiraten.ch/farben-in-der-bash/#comment-2</guid>
		<description>Auch was schönes zum Thema:

vi ~/bashrc

RED="\[33[01;31m\]"
GREEN="\[33[01;32m\]"
BLUE="\[33[01;34m\]"
NONE="\[33[00m\]"

if
[ "$UID" = "0" ];
then
PS1="$RED\u@\h$NONE:$BLUE\w$NONE# "
else
PS1="$GREEN\u@\h$NONE:$BLUE\w$NONE$ "
fi

Gruss Alfred</description>
		<content:encoded><![CDATA[<p>Auch was schönes zum Thema:</p>
<p>vi ~/bashrc</p>
<p>RED=&#8221;\[33[01;31m\]&#8221;<br />
GREEN=&#8221;\[33[01;32m\]&#8221;<br />
BLUE=&#8221;\[33[01;34m\]&#8221;<br />
NONE=&#8221;\[33[00m\]&#8221;</p>
<p>if<br />
[ &#8220;$UID&#8221; = &#8220;0&#8243; ];<br />
then<br />
PS1=&#8221;$RED\u@\h$NONE:$BLUE\w$NONE# &#8221;<br />
else<br />
PS1=&#8221;$GREEN\u@\h$NONE:$BLUE\w$NONE$ &#8221;<br />
fi</p>
<p>Gruss Alfred</p>
]]></content:encoded>
	</item>
</channel>
</rss>
