Skip to content

Commit

Permalink
NO_COLOR support (no-color.org)
Browse files Browse the repository at this point in the history
  • Loading branch information
Walter Stanish committed Sep 9, 2018
1 parent b176ed2 commit fb2dc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taoup
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ end
if ARGV[0] == '--whitetrash' then
whitetrash = true
end
if zero_colors then
if zero_colors || ENV.has_key?('NO_COLOR') then
alias :puts_old :puts
alias :print_old :print
if fortunify==false then
Expand Down

0 comments on commit fb2dc77

Please sign in to comment.