mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
4352461b9c
commit
8347974c9f
1 changed files with 6 additions and 0 deletions
|
@ -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* ",
|
||||
|
|
Loading…
Reference in a new issue