The color wasn't the thing causing the slowdown though. It was the fact that ls was getting the details for every file to work out what to color it. Also for almost everyone's case the colors help...
The color wasn't the thing causing the slowdown though. It was the fact that ls was getting the details for every file to work out what to color it. Also for almost everyone's case the colors help and the time to run is instant. Having 10,000 files in one directory isn't very common.
It is the bane of my existence. So many CLIs are unnecessarily colourful or animated now. And, fine, to each their own, but at least gimme a flag to disable that atrocity, because I might: use a...
It is the bane of my existence. So many CLIs are unnecessarily colourful or animated now. And, fine, to each their own, but at least gimme a flag to disable that atrocity, because I might:
use a dumb terminal, like Emacs' comint and derivatives
use a colour scheme that does not accomodate your colours
be colour blind
or just in disapproval of your subjective aesthetics.
I wish more devs were aware that the dark-bg terminal emulator is not the only config out there.
I figured this was going to be about how setting LC_ALL to "C" helps with faster grep. Nope, something way more banal. Colors in your ls output. Just shut that crap off and leave it off, guys.
I figured this was going to be about how setting LC_ALL to "C" helps with faster grep. Nope, something way more banal. Colors in your ls output. Just shut that crap off and leave it off, guys.
Sherlock is a fitting name after figuring that one out.
And people still make fun of Rob Pike for his dislike of colours in terminals.
The color wasn't the thing causing the slowdown though. It was the fact that
ls
was getting the details for every file to work out what to color it. Also for almost everyone's case the colors help and the time to run is instant. Having 10,000 files in one directory isn't very common.It is the bane of my existence. So many CLIs are unnecessarily colourful or animated now. And, fine, to each their own, but at least gimme a flag to disable that atrocity, because I might:
use a dumb terminal, like Emacs' comint and derivatives
use a colour scheme that does not accomodate your colours
be colour blind
or just in disapproval of your subjective aesthetics.
I wish more devs were aware that the dark-bg terminal emulator is not the only config out there.
I figured this was going to be about how setting LC_ALL to "C" helps with faster grep. Nope, something way more banal. Colors in your ls output. Just shut that crap off and leave it off, guys.