<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>shaun smith &#187; prompt</title>
	<atom:link href="http://shaun.boyblack.co.za/blog/tag/prompt/feed/" rel="self" type="application/rss+xml" />
	<link>http://shaun.boyblack.co.za/blog</link>
	<description>Flash, Flex, Ruby - Cape Town, SA</description>
	<lastBuildDate>Wed, 08 Sep 2010 17:56:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>OS X Git Prompt</title>
		<link>http://shaun.boyblack.co.za/blog/2009/11/15/os-x-git-prompt/</link>
		<comments>http://shaun.boyblack.co.za/blog/2009/11/15/os-x-git-prompt/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 01:26:37 +0000</pubDate>
		<dc:creator>shaun</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://shaun.boyblack.co.za/blog/?p=879</guid>
		<description><![CDATA[I&#8217;m currently using a modified version of git-prompt that looks something like this: If you want to try it out, you can download this zip-ball: git-prompt.zip Unpack that into your User folder, and add this to your bash .profile: # Git Prompt - Modified from: http://volnitsky.com/project/git-prompt/ [[ $- == *i* ]] &#38;&#38; . ~/git-prompt/git-prompt.sh Tip: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently using a modified version of <a title="Git-prompt" href="http://volnitsky.com/project/git-prompt/">git-prompt</a> that looks something like this:</p>
<p><img class="alignnone size-full wp-image-885" title="Git-prompt" src="http://shaun.boyblack.co.za/blog/wp-content/uploads/2009/11/Git-prompt1.png" alt="Git-prompt" width="499" height="558" /><br />
<span id="more-879"></span></p>
<p>If you want to try it out, you can download this zip-ball:</p>
<p><a href="http://shaun.boyblack.co.za/blog/wp-content/uploads/2009/11/git-prompt.zip">git-prompt.zip</a></p>
<p>Unpack that into your User folder, and add this to your bash .profile:</p>
<pre># Git Prompt - Modified from: http://volnitsky.com/project/git-prompt/
[[ $- == *i* ]] &amp;&amp; . ~/git-prompt/git-prompt.sh</pre>
<p>Tip: You can open your .profile from your terminal like so:</p>
<pre>open ~/.profile</pre>
<p>Note: You will need to start a new shell session after editing that file in order to see the changes.</p>
<p>I use Nano as my default bash text editor. If you want that, add this to your .profile:</p>
<pre># Use the nano text editor
export EDITOR="nano"</pre>
<p>And for the Terminal.app style:</p>
<p><img class="alignnone size-full wp-image-883" title="Terminal-prefs" src="http://shaun.boyblack.co.za/blog/wp-content/uploads/2009/11/Terminal-prefs.png" alt="Terminal-prefs" width="500" height="386" /></p>
<p><a href="http://shaun.boyblack.co.za/blog/wp-content/uploads/2009/11/Power-User-Pro.terminal.zip">Power-User-Pro.terminal.zip</a></p>
<p>The shell commands (copy-paste):</p>
<pre>mkdir Test
cd Test/
git init
touch somefile
git add somefile
git commit -m "commit message"
echo "hi" &gt; somefile
git add somefile
git commit -m "second commit"
git checkout -b temp
echo "hello" &gt; somefile
git add .
git commit -m "3rd commit"</pre>
]]></content:encoded>
			<wfw:commentRss>http://shaun.boyblack.co.za/blog/2009/11/15/os-x-git-prompt/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
