<?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"
	>
<channel>
	<title>Comments on: Bash Prompting</title>
	<atom:link href="http://physos.org/2006/07/12/bash-prompting/feed/" rel="self" type="application/rss+xml" />
	<link>http://physos.org/2006/07/12/bash-prompting/</link>
	<description>by Rainer "physos" Endres</description>
	<pubDate>Thu, 04 Dec 2008 20:12:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: physos</title>
		<link>http://physos.org/2006/07/12/bash-prompting/#comment-4238</link>
		<dc:creator>physos</dc:creator>
		<pubDate>Sat, 15 Jul 2006 20:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://physos.org/2006/07/12/bash-prompting/#comment-4238</guid>
		<description>&lt;p&gt;Jep, I am running [markdown](http://daringfireball.net/projects/markdown/)&lt;/p&gt;

&lt;p&gt;&lt;p&gt;Should be deactivated in the comments though. Have to look whats going on there. &lt;/p&gt;
&lt;p&gt;I am not this into zsh, since I have to work on very different systems and many different kinds of Linux and Unix installations. Bash is the common language in that case. &lt;/p&gt;
&lt;p&gt;zsh is a very nice Shell for administrators not alternating between UNIXes often. :)&lt;/p&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jep, I am running [markdown](http://daringfireball.net/projects/markdown/)</p>

<p></p><p>Should be deactivated in the comments though. Have to look whats going on there. </p>
<p>I am not this into zsh, since I have to work on very different systems and many different kinds of Linux and Unix installations. Bash is the common language in that case. </p>
<p>zsh is a very nice Shell for administrators not alternating between UNIXes often. <img src='http://physos.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: pharaoh</title>
		<link>http://physos.org/2006/07/12/bash-prompting/#comment-4234</link>
		<dc:creator>pharaoh</dc:creator>
		<pubDate>Sat, 15 Jul 2006 20:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://physos.org/2006/07/12/bash-prompting/#comment-4234</guid>
		<description>&lt;p&gt;ugh!&lt;/p&gt;

&lt;p&gt;i had posted plain text. some kind of formatting spoiled that post.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>ugh!</p>

<p>i had posted plain text. some kind of formatting spoiled that post.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: pharaoh</title>
		<link>http://physos.org/2006/07/12/bash-prompting/#comment-4233</link>
		<dc:creator>pharaoh</dc:creator>
		<pubDate>Sat, 15 Jul 2006 20:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://physos.org/2006/07/12/bash-prompting/#comment-4233</guid>
		<description>&lt;p&gt;bash? what&#92;\'s that? i like zsh &#38; RPROMPT&lt;/p&gt;

&lt;p&gt;Try the following in ur .zshrc&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;_print_pwd () {
     wd=`pwd &#124; sed -re \\\'s-^\\\'$HOME\\\'-~-g\\\'`
     echo -n %B
     echo -n $wd &#124; sed -re \\\'s-/([^/])([^/]*)-/\\\\1-g\\\'
     [[ $wd == \\\'~\\\' ]] &#124;&#124; echo -n $wd &#124; sed -re \\\'s-.*/[^/]([^/]*$)-\\\\1-\\\'
     echo -n %b
}

setopt prompt_subst
PROMPT=$(echo \\\'%{33[36m%}%n&#62; %{33[0m%}\\\')
RPROMPT=$(echo \\\'%{33[32m%}(\\\' \\\"\\\\`_print_pwd\\\\`\\\" \\\')%{33[0m%} %?\\\')
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;:)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>bash? what&#92;\&#8217;s that? i like zsh &amp; RPROMPT</p>

<p>Try the following in ur .zshrc</p>

<pre><code>_print_pwd () {
     wd=`pwd | sed -re \\\'s-^\\\'$HOME\\\'-~-g\\\'`
     echo -n %B
     echo -n $wd | sed -re \\\'s-/([^/])([^/]*)-/\\\\1-g\\\'
     [[ $wd == \\\'~\\\' ]] || echo -n $wd | sed -re \\\'s-.*/[^/]([^/]*$)-\\\\1-\\\'
     echo -n %b
}

setopt prompt_subst
PROMPT=$(echo \\\'%{33[36m%}%n&gt; %{33[0m%}\\\')
RPROMPT=$(echo \\\'%{33[32m%}(\\\' \\\"\\\\`_print_pwd\\\\`\\\" \\\')%{33[0m%} %?\\\')
</code></pre>

<p> <img src='http://physos.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Useful Bash Prompt at The Musings of Chris Samuel</title>
		<link>http://physos.org/2006/07/12/bash-prompting/#comment-4165</link>
		<dc:creator>Useful Bash Prompt at The Musings of Chris Samuel</dc:creator>
		<pubDate>Thu, 13 Jul 2006 12:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://physos.org/2006/07/12/bash-prompting/#comment-4165</guid>
		<description>&lt;p&gt;[...] Just bookmarking Rainer Endres bash prompt for myself, in case it comes in useful at work.. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Just bookmarking Rainer Endres bash prompt for myself, in case it comes in useful at work.. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: nikotto</title>
		<link>http://physos.org/2006/07/12/bash-prompting/#comment-4058</link>
		<dc:creator>nikotto</dc:creator>
		<pubDate>Wed, 12 Jul 2006 18:50:18 +0000</pubDate>
		<guid isPermaLink="false">http://physos.org/2006/07/12/bash-prompting/#comment-4058</guid>
		<description>&lt;p&gt;thanks, my bash prompt looks now much nicer :D&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>thanks, my bash prompt looks now much nicer <img src='http://physos.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: cartman</title>
		<link>http://physos.org/2006/07/12/bash-prompting/#comment-4049</link>
		<dc:creator>cartman</dc:creator>
		<pubDate>Wed, 12 Jul 2006 14:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://physos.org/2006/07/12/bash-prompting/#comment-4049</guid>
		<description>&lt;p&gt;Ah rocks :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ah rocks <img src='http://physos.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
</channel>
</rss>
