mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
7fa86de15b
commit
b3f84b4a5b
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ module IRB
|
|||
config = Reline::Config.new
|
||||
str = "ReidlineInputMethod with Reline #{Reline::VERSION}"
|
||||
if config.respond_to?(:inputrc_path)
|
||||
inputrc_path = config.inputrc_path
|
||||
inputrc_path = File.expand_path(config.inputrc_path)
|
||||
else
|
||||
inputrc_path = File.expand_path(ENV['INPUTRC'] || '~/.inputrc')
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue