diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-22 05:10:42 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-22 05:10:42 +0000 |
commit | 8347974c9fd6fcfd6af8d06f5c8ceca3bce76057 (patch) | |
tree | 1277258e9196ea218f0c68b2923ca0f536aa08d7 | |
parent | 4352461b9c3643a9eddea982b44c6caff2fa61cf (diff) | |
download | ruby-8347974c9fd6fcfd6af8d06f5c8ceca3bce76057.tar.gz |
change default prompt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/irb/init.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb index b306fbdd51..9fd86e94a2 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 => { |