<?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: Set Your zsh Prompt</title>
	<atom:link href="http://blog.bstpierre.org/zsh-prompt/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bstpierre.org/zsh-prompt</link>
	<description>Software Development, version 3.0</description>
	<lastBuildDate>Thu, 22 Dec 2011 21:52:32 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: kiviuq</title>
		<link>http://blog.bstpierre.org/zsh-prompt/comment-page-1#comment-7599</link>
		<dc:creator>kiviuq</dc:creator>
		<pubDate>Fri, 05 Mar 2010 15:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bstpierre.org/?p=264#comment-7599</guid>
		<description>My fault. Actually ambiguities *are* resolved if a is declared local infunction  title(). So putting &quot;local&quot; as an identifier in front of the first occurance of a in function title() and you may again use a as a variable in the command line independently from a in titlel(). Sorry about the confusion. To auto detect global declarations in the future one can add

setopt warncreateglobal

to .zshrc</description>
		<content:encoded><![CDATA[<p>My fault. Actually ambiguities *are* resolved if a is declared local infunction  title(). So putting &#8220;local&#8221; as an identifier in front of the first occurance of a in function title() and you may again use a as a variable in the command line independently from a in titlel(). Sorry about the confusion. To auto detect global declarations in the future one can add</p>
<p>setopt warncreateglobal</p>
<p>to .zshrc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiviuq</title>
		<link>http://blog.bstpierre.org/zsh-prompt/comment-page-1#comment-7596</link>
		<dc:creator>kiviuq</dc:creator>
		<pubDate>Fri, 05 Mar 2010 14:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bstpierre.org/?p=264#comment-7596</guid>
		<description>There&#039;s only one problem in that code. When  you hapen to use a as variable in the command line it will collide with a defined globally in function title(). Even after turning a into local a you still won&#039;t be able to say things like a=&quot;x x x// /&quot; .. next line.. echo $a in the console. Any ideas how to fix that besides of renaming a into something less &quot;common&quot; like ZEWTGASDG1233 to avoid potential ambiguities.</description>
		<content:encoded><![CDATA[<p>There&#8217;s only one problem in that code. When  you hapen to use a as variable in the command line it will collide with a defined globally in function title(). Even after turning a into local a you still won&#8217;t be able to say things like a=&#8221;x x x// /&#8221; .. next line.. echo $a in the console. Any ideas how to fix that besides of renaming a into something less &#8220;common&#8221; like ZEWTGASDG1233 to avoid potential ambiguities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://blog.bstpierre.org/zsh-prompt/comment-page-1#comment-7351</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Thu, 25 Feb 2010 01:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bstpierre.org/?p=264#comment-7351</guid>
		<description>I ripped that from somewhere else on the net with comments and all. It was by far the best out of a few. I think it was from http://dotfiles.org/ which is a decent resource for quickly obtaining different solutions to common interactive shell problems.

I&#039;m always tempted to make a more flashy $PROMPT with colors and what not, because face it -- you&#039;re going to be stuck on busybox at times. It seems like a good idea that custom zsh hosts be easily distinguishable from minimal shells. I still don&#039;t do the color prompt though.</description>
		<content:encoded><![CDATA[<p>I ripped that from somewhere else on the net with comments and all. It was by far the best out of a few. I think it was from <a href="http://dotfiles.org/" rel="nofollow">http://dotfiles.org/</a> which is a decent resource for quickly obtaining different solutions to common interactive shell problems.</p>
<p>I&#8217;m always tempted to make a more flashy $PROMPT with colors and what not, because face it &#8212; you&#8217;re going to be stuck on busybox at times. It seems like a good idea that custom zsh hosts be easily distinguishable from minimal shells. I still don&#8217;t do the color prompt though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

