Pull this value from SystemPager.default_pager.
This commit is contained in:
parent
602b5670a1
commit
bed1a39159
|
@ -64,7 +64,7 @@ class Pry::Pager
|
|||
|
||||
def initialize(*)
|
||||
super
|
||||
@pager = ENV["PAGER"] || "less -R -S -F -X"
|
||||
@pager = SystemPager.default_pager
|
||||
end
|
||||
|
||||
def page
|
||||
|
|
Loading…
Reference in New Issue