<?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>I'm a Richardson, RU? &#187; TextMate</title>
	<atom:link href="http://www.imarichardson.com/tag/textmate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imarichardson.com</link>
	<description>(ugh...really cool tagline goes here)</description>
	<lastBuildDate>Sat, 21 Aug 2010 16:36:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>12 Profile Shortcuts I can&#8217;t live without</title>
		<link>http://www.imarichardson.com/2007/10/09/12-profile-shortcuts-i-cant-live-without/</link>
		<comments>http://www.imarichardson.com/2007/10/09/12-profile-shortcuts-i-cant-live-without/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 14:59:51 +0000</pubDate>
		<dc:creator>imarichardson</dc:creator>
				<category><![CDATA[Programming &#038; Development]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[RubyOnRails]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://www.imarichardson.com/2007/10/09/12-profile-shortcuts-i-cant-live-without/</guid>
		<description><![CDATA[If you&#8217;re a developer on a Mac or Linux box, building in Rails using Capistrano like me you can get really tired of having to &#8220;cd&#8221; to a 25 character long directory path 10 times a day while running all your script/&#8221;whatevers&#8221; while you work. Well, here&#8217;s my list of 12 shortcuts I can&#8217;t live [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.imarichardson.com/wp-content/uploads/rails.png" alt="Rails" align="right" />If you&#8217;re a developer on a Mac or Linux box, building in Rails using Capistrano like me you can get really tired of having to &#8220;cd&#8221; to a 25 character long directory path 10 times a day while running all your script/&#8221;whatevers&#8221; while you work. Well, here&#8217;s my list of 12 shortcuts I can&#8217;t live without.</p>
<p>If you&#8217;re on a Mac, you&#8217;ll need to edit your &#8220;/etc/profile&#8221; page and then type these in, so something like &#8220;$textedit /etc/profile&#8221; or  &#8220;$ mate /etc/profile&#8221; (if you are using <a href="http://macromates.com/">TextMate</a>) from your Terminal window will open your system profile.</p>
<div class="codecolorer-container ruby vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#008000; font-style:italic;"># /directories</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> gotoMyDir=<span style="color:#996600;">&quot;cd /Some/Path/To/A/Frequently/Accessed_Directory&quot;</span><br />
<br />
<span style="color:#008000; font-style:italic;"># Rails</span><br />
<span style="color:#008000; font-style:italic;">#The next shortcut only opens up the rails directories I care about using TextMate</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> matedir=<span style="color:#996600;">&quot;mate app config lib db public test vendor/plugins &amp;amp;&quot;</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> ss=<span style="color:#996600;">&quot;./script/server&quot;</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> sc=<span style="color:#996600;">&quot;./script/console&quot;</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> sg=<span style="color:#996600;">&quot;./script/generate&quot;</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> sp=<span style="color:#996600;">&quot;./script/plugin&quot;</span><br />
<br />
<span style="color:#008000; font-style:italic;">#Rails Capistrano ... yes, I am using Capistrano 1.4.1 instead of 2.x</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> capd=<span style="color:#996600;">&quot;cap _1.4.1_ deploy&quot;</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> capdm=<span style="color:#996600;">&quot;cap _1.4.1_ deploy_with_migrations&quot;</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> capapache=<span style="color:#996600;">&quot;cap _1.4.1_ restart_apache&quot;</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> caprestart=<span style="color:#996600;">&quot;cap _1.4.1_ restart_mongrel_cluster&quot;</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> capstart=<span style="color:#996600;">&quot;cap _1.4.1_ start_mongrel_cluster&quot;</span><br />
<span style="color:#9966CC; font-weight:bold;">alias</span> capstop=<span style="color:#996600;">&quot;cap _1.4.1_ stop_mongrel_cluster&quot;</span></div></td></tr></tbody></table></div>
<p>Now what&#8217;s nice is that f I want to visit &#8220;my directory&#8221;, while in the terminal I just type&#8221;$ gotoMyDir&#8221;; if I need to run a capistrano &#8220;deploy_with_migrations&#8221; script (yes, I&#8217;m using 1.4.1 until a few more 2.0 updates finalize) I just type in &#8220;$ capdm&#8221; &#8230; you get the picture.</p>
<p>Nice indeed, and saves the keys!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imarichardson.com/2007/10/09/12-profile-shortcuts-i-cant-live-without/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
