color in less
I'm writing a tiny script that aliases "l" to mean ls -lh --color|less.
Trouble is that less doesn't display the color naturally the way more does. I like being able to use less, but I like the colors for my files as well. Anyone have a good way to get colors to display in less? the -R removes the control characters, which is nice, but I still get no color.
Trouble is that less doesn't display the color naturally the way more does. I like being able to use less, but I like the colors for my files as well. Anyone have a good way to get colors to display in less? the -R removes the control characters, which is nice, but I still get no color.
