From 608872f1175b88ab38881826a468453a253370b2 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Wed, 11 Mar 2020 15:52:28 +0100 Subject: [PATCH] notes --- internal/notes.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/notes.txt b/internal/notes.txt index 4bc7ff65..0e2c7456 100644 --- a/internal/notes.txt +++ b/internal/notes.txt @@ -40,3 +40,7 @@ segments would have "unknown" icons by default (yellow and not bold); can allow them to participate by defining `explainprompt_foo` that populates array `reply` with strings like this: '-s STATE -i LOCK_ICON +r'; the first element must be segment description. +- add `docker_context` prompt segment; similar to `kubecontext`; the data should come from + `currentContext` field in `~/.docker/config.json` (according to + https://github.com/starship/starship/issues/995); there is also `DOCKER_CONTEXT`; more info: + https://docs.docker.com/engine/reference/commandline/context_use.