summaryrefslogtreecommitdiff
path: root/lib/irb
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-22 05:10:42 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-22 05:10:42 +0000
commit8347974c9fd6fcfd6af8d06f5c8ceca3bce76057 (patch)
tree1277258e9196ea218f0c68b2923ca0f536aa08d7 /lib/irb
parent4352461b9c3643a9eddea982b44c6caff2fa61cf (diff)
change default prompt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r--lib/irb/init.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb
index b306fbd..9fd86e9 100644
--- a/lib/irb/init.rb
+++ b/lib/irb/init.rb
@@ -68,6 +68,12 @@ module IRB
:PROMPT_I => "%N(%m):%03n:%i> ",
:PROMPT_S => "%N(%m):%03n:%i%l ",
:PROMPT_C => "%N(%m):%03n:%i* ",
+ :RETURN => "=> %s\n"
+ },
+ :CLASSIC => {
+ :PROMPT_I => "%N(%m):%03n:%i> ",
+ :PROMPT_S => "%N(%m):%03n:%i%l ",
+ :PROMPT_C => "%N(%m):%03n:%i* ",
:RETURN => "%s\n"
},
:SIMPLE => {