From 03c53537280d1c93a4394c74c9c2518342c6fed7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 14 Apr 2016 12:56:09 -0400 Subject: [PATCH] pryrc: smarter dumb/emacs TERM detection --- pryrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pryrc b/pryrc index c73798c1..cf424e10 100644 --- a/pryrc +++ b/pryrc @@ -1,6 +1,6 @@ # Pry config -if ENV['TERM'] == 'dumb' +if ['dumb', 'emacs'].include? ENV['TERM'] Pry.config.color = false Pry.config.pager = false Pry.config.auto_indent = false