DEV Community

How My Bash Color Settings Broke edeliver

Kate Travers on April 27, 2018

Yep, you read that right. My bash color settings broke edeliver, the tool my team uses to deploy our Elixir apps. Now, anyone who's tinkered with ...
Collapse
 
carlfish profile image
Charles Miller • Edited

Great debugging story. I'd have been tearing my hair out over this for ages if it happened to me.

The manuals are a little confusing on the subject (ls describes this behaviour, grep has the same options as ls but doesn't explain them), but I think the culprit here is 'color=always'.

The 'color=auto' setting should tell the command to emit colour codes when the output device is a terminal, but not when it's a pipe to another program.

Collapse
 
ktravers profile image
Kate Travers

oh nice, i'll give color=auto a try then. thanks charles!

Collapse
 
defman profile image
Sergey Kislyakov

FYI the tl;dr links don't work.

Collapse
 
ktravers profile image
Kate Travers

thanks defman, should be fixed now!