When I have dircolors defined life is full of... color.
When I pipe
less to scroll around I lose the colors.
Most likely your
You could also change your alias to do that, but I wouldn't really call that a good idea. Better to make a different alias with
Try less with the -R option like this:
This works for me in a one-liner like this:
And like this too:
But you have to tweak the primary output (the output of ls in this case) a bit with the --color parameter.
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?