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
1 changed files with 1 additions and 1 deletions

View File

@ -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