as the title says, I want to see colors in my watch command.
ex:
# enable colors when running javascript unittests with watch
watch mocha
# enable colors when doing `ls`
watch ls -aG
as the title says, I want to see colors in my watch command.
ex:
# enable colors when running javascript unittests with watch
watch mocha
# enable colors when doing `ls`
watch ls -aG
Some programs, such as ls
try to be "smart" and only use color when connected to a terminal. Hopefully they have a way to force color. ls
does.
watch --color ls -aG --color
Edit: Only tested with Ubuntu Raring.