windows 10 - Show colors in output of bash script or bash -c -
i'm using new bash shell on windows 10, i'm pretty sure happens on platforms.
$ ls a.out
a.out
green.
$ bash -c "ls" a.out
here, a.out
normal colored.
how second case behave first?
you have enable colors:
bash -c "ls --color=auto"
try also:
bash -i -c ls
Comments
Post a Comment