1
0
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:
Kelly Brazil
2023-10-21 12:01:09 -07:00
parent c16cce4bf0
commit ab0e05ec82

View File

@ -145,6 +145,7 @@ class JcCli():
JC_COLORS=blue,brightblack,magenta,green
JC_COLORS=default,default,default,default
"""
if PYGMENTS_INSTALLED:
input_error = False
env_colors = os.getenv('JC_COLORS')