v1.13.0
-
New features:
POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER
:first
andlast
can now be followed by:<offset>
where<offset>
is an integer. This moves the truncation point to the right (positive offset) or to the left (negative offset) relative to the marker. Plainfirst
andlast
are equivalent tofirst:0
andlast:0
respectively.wifi
prompt segment now works on Linux (requiresiw
). Thanks, @sys-lectern!POWERLEVEL9K_BATTERY_HIDE_ABOVE_THRESHOLD
can now be specified independently for different battery states (CHARGED
,CHARGING
,LOW
,DISCONNECTED
).
-
Bug fixes:
- Correctly handle missing current working directory.
- Right prompt is now rendered correctly whenever a shortened
dir
segment is hidden withp10k display
. - Configs that emulate Pure and Robbyrussell themes now correctly unset all
POWERLEVEL9K
parameters. NETWORK_ICON
has a new glyph; the original glyph was triggering bugs on some terminals.- Network-related segments now work with versions of
ifconfig
that print network interface flags in hex. - Transient prompt now correctly triggers on
send-break
. - Wizard no longer refuses to start when
ZDOTDIR
is not writable.
-
Wizard:
- If gitstatusd needs to be downloaded, the download is started while the wizard is running.
- Wizard can now function with smaller terminal sizes.
- When using zsh4humans, wizard automatically enables instant prompt in quiet mode.
- The default values of some
SHOW_ON_COMMAND
parameters now includek9s
,helmfile
andterragrunt
. vpn_ip
now recognizesgpd
as a VPN tunnel.
-
gitstatus:
- armv8l is now supported.
- Commits ahead/behind is now computed correctly when local branches have odd names such as
origin/master
.