Open nfischer opened 8 years ago
Noticed that recently. I can change it - that's pretty simple.
I might default in the alias too, though, into cash.
Sorry my recent responses haven't had much action - a bit busy right now.
Sorry my recent responses haven't had much action - a bit busy right now.
No worries! I just figured I'd point out some of the things I've noticed so far. No rush.
I noticed that cash's grep uses colored output by default. This doesn't seem to be a POSIX compliant default, however. On my Ubuntu system, if I type
grep 'o' package.json
, it's true that I'll see colored output, but that's because Ubuntu aliasesgrep
by default.You can see the actual default behavior of GNU grep if you type something like:
I'm not sure if cash's default was by design (which wouldn't be the worst decision), or if it was just assumed this was the default.
I noticed the same thing with
ls
, which also doesn't use colors by default, it just so happens that it's commonly aliased toalias ls='ls --color=auto'
.