Features and improvements
- New prompt segment:
xplr
. aws
prompt segment can now utilizeP9K_AWS_PROFILE
andP9K_AWS_REGION
parameters. They are used in the default configs.vcs
prompt segment now displays "wip" if the latest commit's summary contains "wip" or "WIP".- Warning/critical thresholds used by
load
prompt segment can now be overridden withPOWERLEVEL9K_LOAD_{WARNING,CRITICAL}_PCT
. azure
prompt segment now supports customization classes similar toaws
.fluxctl
andstern
are now recognized as commands affected by the current kubernetes context.- Powerlevel10k now special-cases
user:azhw:*
widgets to work around bugs inadd-zle-hook-widget
. battery
prompt segment now attempts to readcapacity
before(energy|charge)_now
to work around bugs on Android.- Git tag is no longer displayed when on a branch.
- All CR bytes are now removed from prompt.
- When
POWERLEVEL9K_SHORTEN_STRATEGY
is set totruncate_to_last
,POWERLEVEL9K_SHORTEN_DIR_LENGTH
can now be used to specify the number of trailing segments that should be kept. P9K_IP_{RX,TX}_BYTES_DELTA
are now available available withinPOWERLEVEL9K_IP_CONTENT_EXPANSION
.- When searching for files in ancestor directories, the search now stops at
$HOME
rathen than right before it. - Python version in
pyenv
segment is now hidden if the rest of the content starts with it.
Bug fixes
- Segments whose state contains numbers could not be hidden.
- Expand c-escapes in kubectl configs.
- Disable colors in the output of taskwarrior.
- Correctly detect current python version when using pyenv.
- Set
P9K_PYENV_PYTHON_VERSION
correctly when dealing with multiple pyenv versions. - Ignore comment lines in
.python-version
and similar files. - Don't leak
token
local variable in parser. - Use proper padding with VCS bookmark icon.