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:
@ -492,6 +492,7 @@ def main():
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
# enable colors for Windows cmd.exe terminal
|
# enable colors for Windows cmd.exe terminal
|
||||||
|
if sys.platform.startswith('win32'):
|
||||||
os.system('')
|
os.system('')
|
||||||
|
|
||||||
# parse magic syntax first: e.g. jc -p ls -al
|
# parse magic syntax first: e.g. jc -p ls -al
|
||||||
|
Reference in New Issue
Block a user