<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,6 +18,52 @@ rescue Gem::LoadError
   end
 end
 
+module Twitter
+  class Console
+    class &lt;&lt; self
+      @@OPTIONS = { :debugger =&gt; false, :config =&gt; &quot;~/.twitter4r/accounts.yml&quot; }
+      def parse_options
+        OptionParser.new do |opt|
+          opt.banner = &quot;Usage: t4rsh [environment] [options]&quot;
+          opt.on(&quot;--config=[~/.twitter4r/accounts.yml]&quot;, 'Use a specific config file.') { |v| @@OPTIONS[:config] = v }
+          opt.parse!(ARGV)
+        end
+      end
+
+      def config_file
+        result = ENV[&quot;T4R_CONFIG&quot;]
+        file_name = File.expand_path('twitter.yml')
+        result ||= file_name if File.exists?(file_name)
+        file_name = File.expand_path('twitter.yml', 'config')
+        result ||= file_name if File.exists?(file_name)
+        file_name = File.expand_path('~/.twitter.yml')
+        result ||= file_name if File.exists?(file_name)
+        result
+      end
+
+      def account
+        ENV[&quot;T4R_ENV&quot;] || ENV[&quot;MERB_ENV&quot;] || ENV[&quot;RAILS_ENV&quot;]
+      end
+
+      def run(file)
+        IRB.init_config(nil)
+        # configuration...
+        IRB.conf[:IRB_NAME] = &quot;t4rsh&quot;
+        IRB.conf[:VERSION] = Twitter::Version.to_version
+        IRB.conf[:USE_READLINE] = true
+        IRB.conf[:PROMPT_MODE] = :T4RSH
+        IRB.conf[:PROMPT][:T4RSH] = {
+          :PROMPT_I =&gt; &quot;%N[%3n:%i]&gt; &quot;, # top level prompt
+          :PROMPT_C =&gt; &quot;%N[%3n:%i]* &quot;, # after conditional like &quot;if&quot;
+          :PROMPT_S =&gt; &quot;%N[%3n:%i]* &quot;, # during continuing string
+          :RETURN =&gt; &quot;=&gt; %s\n&quot;, # return value
+        }
+        IRB.start(file)
+      end
+    end
+  end
+end
+
 #if __FILE__ == $0
   @twitter = nil
   config_file = Twitter::Console.config_file</diff>
      <filename>bin/t4rsh</filename>
    </modified>
    <modified>
      <diff>@@ -29,40 +29,3 @@ module Twitter
   end
 end
 
-module Twitter
-  class Console
-    class &lt;&lt; self
-      @@OPTIONS = { :debugger =&gt; false, :config =&gt; &quot;~/.twitter4r/accounts.yml&quot; }
-      def parse_options
-        OptionParser.new do |opt|
-          opt.banner = &quot;Usage: t4rsh [environment] [options]&quot;
-          opt.on(&quot;--config=[~/.twitter4r/accounts.yml]&quot;, 'Use a specific config file.') { |v| @@OPTIONS[:config] = v }
-          opt.parse!(ARGV)
-        end
-      end
-
-      def config_file
-        result = ENV[&quot;T4R_CONFIG&quot;]
-        file_name = File.expand_path('twitter.yml')
-        result ||= file_name if File.exists?(file_name)
-        file_name = File.expand_path('twitter.yml', 'config')
-        result ||= file_name if File.exists?(file_name)
-        file_name = File.expand_path('~/.twitter.yml')
-        result ||= file_name if File.exists?(file_name)
-        result
-      end
-
-      def account
-        ENV[&quot;T4R_ENV&quot;] || ENV[&quot;MERB_ENV&quot;] || ENV[&quot;RAILS_ENV&quot;]
-      end
-
-      def run(file)
-        IRB.init_config(nil)
-        IRB.conf[:USE_READLINE] = true
-        IRB.conf[:PROMPT_MODE] = :SIMPLE
-        IRB.start(file)
-      end
-    end
-  end
-end
-</diff>
      <filename>lib/twitter/console.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1ad5cb617b54643ddb43d5f6b38f9aa4abbdf179</id>
    </parent>
  </parents>
  <author>
    <name>Susan Potter</name>
    <email>me@susanpotter.net</email>
  </author>
  <url>http://github.com/mbbx6spp/twitter4r/commit/80377f7fe53a04448774fc171f0cf5aaef2f4b6b</url>
  <id>80377f7fe53a04448774fc171f0cf5aaef2f4b6b</id>
  <committed-date>2009-02-18T13:48:37-08:00</committed-date>
  <authored-date>2009-02-18T13:48:37-08:00</authored-date>
  <message>Reorganized code</message>
  <tree>ce4a716754030347f896b2bbe30094b6bc2b3de3</tree>
  <committer>
    <name>Susan Potter</name>
    <email>me@susanpotter.net</email>
  </committer>
</commit>
