Closed scottslowe closed 2 years ago
Is there a reason you removed the :whale: emoji?
@justjanne Sorry, that's an error on my part! I'll push another commit that restores the emoji. Apologies!
@justjanne I've committed your suggestion. Apologies again for the error with the emoji. Thanks for creating powerline-go
, it's a huge help to me in my day-to-day workflows.
This PR adds support for the
DOCKER_CONTEXT
environment variable, which will override the context specified by thedocker context use
command when setting the Docker context. Accordingly,segment-docker_context.go
is changed by this PR to useDOCKER_CONTEXT
if specified, and use the context specified in the Docker configuration file if the environment variable is not set (the same order Docker itself uses to determine context).Fixes #350.