mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-11 22:02:32 +01:00
add package prompt segment
This commit is contained in:
parent
95008fc871
commit
db1e12bce3
8 changed files with 116 additions and 3 deletions
|
|
@ -40,5 +40,3 @@
|
|||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue