diff --git a/lib/rainbow.rb b/lib/rainbow.rb index 26d3e59..1a8cf1b 100644 --- a/lib/rainbow.rb +++ b/lib/rainbow.rb @@ -4,7 +4,7 @@ module Sickill module Rainbow class << self; attr_accessor :enabled; end - @enabled = STDOUT.tty? && ENV['TERM'] != 'dumb' + @enabled = STDOUT.tty? && ENV['TERM'] != 'dumb' || ENV['CLICOLOR_FORCE'] == '1' TERM_COLORS = { :black => 0,