1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

only force enable colors when running on windows

This commit is contained in:
Kelly Brazil
2021-05-16 17:48:40 -07:00
parent fd411fd772
commit ab291b9eef

View File

@ -492,6 +492,7 @@ def main():
pass
# enable colors for Windows cmd.exe terminal
if sys.platform.startswith('win32'):
os.system('')
# parse magic syntax first: e.g. jc -p ls -al