mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
only set colors if pygments is installed
This commit is contained in:
@ -145,6 +145,7 @@ class JcCli():
|
|||||||
JC_COLORS=blue,brightblack,magenta,green
|
JC_COLORS=blue,brightblack,magenta,green
|
||||||
JC_COLORS=default,default,default,default
|
JC_COLORS=default,default,default,default
|
||||||
"""
|
"""
|
||||||
|
if PYGMENTS_INSTALLED:
|
||||||
input_error = False
|
input_error = False
|
||||||
env_colors = os.getenv('JC_COLORS')
|
env_colors = os.getenv('JC_COLORS')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user