v1.4.0
Changes since the last release
-
New prompt segments:
package
: shows npm name and version frompackage.json
(disabled by default).
-
New and changed parameters:
P9K_OS_ICON
: set by Powerlevel10k on initialization; can be used in user-defined prompt segments and*_EXPANSION
parameters.POWERLEVEL9K_ICON_PADDING
: when set tomoderate
, some icons will have an extra space after them. This is meant to avoid icon overlap when using non-monospace fonts. When set tonone
, spaces are not added.
-
Performance improvement:
detect_virt
prompt segment is now 50% faster.
-
Bug fixes:
- Many terminal escape sequences are now terminated with BEL instead of ST. ST is the standard terminator according to ECMA-48 §8.3.89 but Konsole doesn't understand it. Thankfully, all terminals appear to understand BEL as extension.
- Superfluous spaces have been removed from
vcs
segment when using a monospace font and not usingmy_git_formatter
.
-
Wizard:
- Generated configs now set
POWERLEVEL9K_ICON_PADDING
in favor of*_VISUAL_IDENTIFIER_EXPANSION
. The value of this parameters depends on the answers to the first few questions that concern terminal font capabilities. - Generated configs no longer attempt to work around misconfigured locale. The workarounds in Powerlevel10k proper are sufficient.
- Generated configs now set
-
gitstatus:
- Fix a regression on Linux systems where
uname
doesn't understand-o
. - Fix a regression on Cygwin and MinGW when running on older versions of Windows.
- Fix a bug that can result in occasional gitstatus initialization failure on WSL when using Powerlevel10k with Instant Prompt.
- Fix a regression on Linux systems where