Hey @gboudrea, thank you for reaching out to us!
I think the problem here is that ls detects op run to not be a terminal-type output, which is why colours are disabled by default (since the default setting for the --color flag is auto).
Easiest way to fix this would be to include the --color flag in your command, i.e. op run -- ls --color.
Please do let us know if this helps.
Indeed, that fixes it.
I also noticed other commands (heroku, terraform) correctly detect that colors can be used with op run, and will use color with no additions in the command : i.e. op run --no-masking -- heroku will output colors.
I'm having the same problem.
I would really prefer having the output masked, but removing the colours from for instance compile output makes it hard to find errors.
We currently have a ticket tracking this very problem internally. Although not our top focus, we will try to prioritise it between our development cycles. We'll keep the thread updated with any progress on this!
Comments
What happens if you add
--no-masking
toop run
?Then the result shows in columns, but no colors.
Team Member
Hey @gboudrea, thank you for reaching out to us!
I think the problem here is that
ls
detectsop run
to not be a terminal-type output, which is why colours are disabled by default (since the default setting for the--color
flag isauto
).Easiest way to fix this would be to include the
--color
flag in your command, i.e.op run -- ls --color
.Please do let us know if this helps.
Best,
Horia
Indeed, that fixes it.
I also noticed other commands (heroku, terraform) correctly detect that colors can be used with op run, and will use color with no additions in the command : i.e.
op run --no-masking -- heroku
will output colors.Thanks.
Team Member
Great! Let us know if we can help with anything else.
I'm having the same problem.
I would really prefer having the output masked, but removing the colours from for instance compile output makes it hard to find errors.
Team Member
Hey Rotendahl,
We currently have a ticket tracking this very problem internally. Although not our top focus, we will try to prioritise it between our development cycles. We'll keep the thread updated with any progress on this!
Best,
Horia