We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6607b9d commit ce0b6c2Copy full SHA for ce0b6c2
1 file changed
ipykernel/zmqshell.py
@@ -482,6 +482,9 @@ def init_environment(self):
482
# These two ensure 'ls' produces nice coloring on BSD-derived systems
483
env["TERM"] = "xterm-color"
484
env["CLICOLOR"] = "1"
485
+ # These two add terminal color in tools that support it.
486
+ env["FORCE_COLOR"] = "1"
487
+ env["CLICOLOR_FORCE"] = "1"
488
# Since normal pagers don't work at all (over pexpect we don't have
489
# single-key control of the subprocess), try to disable paging in
490
# subprocesses as much as possible.
0 commit comments