change default prompt.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
keiju 2002-11-22 05:10:42 +00:00
parent 4352461b9c
commit 8347974c9f
1 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,12 @@ module IRB
:RETURN => "%s\n"
},
:DEFAULT => {
: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* ",