mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
fix(docker_context): Ignore Docker Desktop "desktop-linux" context. (#6314)
* Docker Desktop uses "desktop-linux" instead of "default" as the default context since version 3.5. This filters "desktop-linux" in the same way as "default". https://github.com/starship/starship/issues/6170 * update docs/config/README.md
This commit is contained in:
@@ -1267,7 +1267,7 @@ disabled = false
|
||||
|
||||
The `docker_context` module shows the currently active
|
||||
[Docker context](https://docs.docker.com/engine/context/working-with-contexts/)
|
||||
if it's not set to `default` or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or
|
||||
if it's not set to `default` or `desktop-linux`, or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or
|
||||
`DOCKER_CONTEXT` environment variables are set (as they are meant to override
|
||||
the context in use).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user