1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Pull this value from SystemPager.default_pager.

This commit is contained in:
Rob Gleeson 2012-10-26 15:13:23 +02:00
parent 602b5670a1
commit bed1a39159

View file

@ -64,7 +64,7 @@ class Pry::Pager
def initialize(*) def initialize(*)
super super
@pager = ENV["PAGER"] || "less -R -S -F -X" @pager = SystemPager.default_pager
end end
def page def page