From 95008fc87195bf657903ad27d41c06718521a80d Mon Sep 17 00:00:00 2001 From: romkatv Date: Mon, 9 Mar 2020 09:31:58 +0100 Subject: [PATCH] notes --- internal/notes.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/notes.txt b/internal/notes.txt index 4bc7ff65..82d84ea1 100644 --- a/internal/notes.txt +++ b/internal/notes.txt @@ -40,3 +40,5 @@ 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 `package` segment that displays name@version where name is `.name` and version is `.version` + from package.json. Expose them as P9K_PACKAGE_NAME and P9K_PACKAGE_VERSION.