pryrc: smarter dumb/emacs TERM detection

This commit is contained in:
Henrik Lissner 2016-04-14 12:56:09 -04:00
parent 09309b7ab6
commit 03c5353728

2
pryrc
View file

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