Releases: romkatv/powerlevel10k
Releases · romkatv/powerlevel10k
v1.14.3
v1.14.2
v1.14.1
v1.14.0
-
New features:
- New segment:
scalaenv
. POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV
can now be set toif-different
to inhibit the display ofvirtualenv
when it's identical topyenv
.P9K_PROMPT
is now set totransient
for the duration of transient prompt expansion.
- New segment:
-
Optimizations and improvements:
- Retain caches whenever possible when switching terminals. This speeds up zsh startup when, for example, switching between GNOME Terminal and VS Code Integrated Terminal.
- When installing the font through
p10k configure
on iTerm2, it's now more difficult to ignore the instructions to restart iTerm2 or computer. - When the configuration wizard runs during the installation of zsh4humans, it now avoids printing its own intro and outro.
- When instant prompt is sourced prior to going into
exec tmux
or similar (bad idea but people do that), it no longer has any effect. - An empty line before the first prompt is no longer printed after starting
tmux
orscreen
even ifPOWERLEVEL9K_PROMPT_ADD_NEWLINE=true
. - When using zsh4humans, instant prompt can now be placed on the last terminal line (without zsh4humans there is always at least one empty line at the bottom).
- Transient prompt no longer scrolls screen before executing commands.
-
Bug fixes:
- Remove superfluous dash from
P9K_KUBECONTEXT_CLOUD_ZONE
. - Support generic
POWERLEVEL9K_*
parameters for segments with dashes in their names. - Ignore
dir
separator override if the current directory is/
andPOWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER
istrue
. - Fix configuration parsing when using Turkish locale.
- Recognize double-quoted strings when parsing
kubectl
configs. - Prompt is now correctly restored upon Ctrl+C when transient prompt is disabled.
- Remove superfluous dash from
-
gitstatus
- Support Apple Silicon (Darwin arm64).
- Improve diagnostics for the most common cases of gitstatus initialization failure.
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
.
v1.12.0
-
New parameters
POWERLEVEL9K_TERRAFORM_SHOW_DEFAULT=true
can now be used to force the display of "default" workspace.
-
Robustness & Performance
vcs
segment no longer gets initialized if there is nogit
command.- Error messages about incorrect loading of Powerlevel10k (e.g., from zle) are now shown in more cases.
- Instant Prompt console output warning should no longer trigger if the whole output is made of TTY control sequences.
- Pasting from clipboard on terminals without bracketed paste is now faster.
- When Powerlevel10k is used from zsh4humans, it no longer forces zle to redraw.
- Powerlevel10k now works when any of the files it reads contain Windows-style line endings.
fvm
segment now works both with the old and the new versions offvm
.NETWORK_ICON
now uses a different glyph. The original glyph confuses some terminals because it's a ligature in Unicode 9.
-
Bug fixes
vcs
segment now shows correct icon when the default remote is on GitLab.- Transient prompt now respects
POWERLEVEL9K_PROMPT_CHAR_ERROR_VIINS_CONTENT_EXPANSION
. battery
now works on LG Gram.
-
Wizard
- Wizard no longer uses non-ASCII characters in any of its questions if there is no UTF-8 locale on the machine.
- Default configs no longer trust manual Conda prompt overrides if they result in empty prompt.
- Julia now has its own icon and color in
asdf
. - When enabling Meslo LGS on iTerm2, background transparency is now turned off in iTerm2 settings.
-
Bug fixes:
todo
segment now works iftodo-cli
is installed from a debian package
-
gitstatus
- Support linux-ppc64le.
v1.11.0
-
New parameters
P9K_ANACONDA_PYTHON_VERSION
can be used within theanaconda
segment.
-
Wizard
- New configs now use V (latin letter) instead of Ⅴ (roman numeral) to designate visual vi mode.
- New configs have different
anaconda
segment format. It's quite flexible. See comments in~/.p10k.zsh
next toanaconda
. - If
TERM
islinux
ordumb
, wizard no longer asks which unicode glyphs render correctly (none of them do).
-
Bug fixes
asdf
now correctly handles configs that specify multiple versions for the same tool.taskwarrior
now correctly updates counters when a task becomes overdue.
-
Performance
- Pasting on terminals without bracketed paste support is now faster.
-
gitstatus
- Error messages when users attempt to use incorrectly packaged gitstatus are now somewhat better.
- Workarounds for bugs in Cygwin now should work more reliably.
Message for @shibumi: This addendum to releases has been discontinued.
v1.10.1
v1.10.0
Changes since the last release
-
New parameters
POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=false
allows you to hidevirtualenv
whenpyenv
is shown.
-
Wizard
- New configs now have
POWERLEVEL9K_VIRTUALENV_SHOW_WITH_PYENV=false
(see above). - New configs set
pyenv
to display python version in addition to the name of the active environment.
- New configs now have
-
Robustness
- Gracefully handle
SIGINT
interruptions (these are usually sent via Ctrl-C). - Instant prompt no longer prints its warning when Oh My Zsh update fails.
- Gracefully handle two or more active zsh sessions using different Powerlevel10k configs.
- Gracefully handle
-
Bug fixes
gcloud
now correctly works when there is more than one configuration.vcs
andvpn_ip
now can be hidden withp10k display
.- When starting
zsh
immediately after launching terminal or callingclear
, leading empty line and ruler no longer get suppressed.
Message for @shibumi: https://github.com/romkatv/libgit2/archive/tag-005f77dca6dbe8788e55139fa1199fc94cc04f9a.tar.gz
v1.9.1
Changes since the last release
-
Robustness
- It's now less likely that instant prompt won't appear when restarting Powerlevel10k after an update.
- Powerlevel10k now works around bugs in Zsh that cause vim suspension when you exit from
:shell
(#717).
-
Wizard
- If configuration wizard wants to run on startup but there is instant prompt, it will not abort instant prompt and clear buffered keyboard input.
- If wizard is aborted with Ctrl-C, it will now print its standard "aborted" message.
- Old Font Awesome fonts once again can be correctly classified.
- When an invalid choice is made (e.g., you press
x
when valid choices arey
orn
), the key no longer gets echoed.
Message for @shibumi: https://github.com/romkatv/libgit2/archive/tag-005f77dca6dbe8788e55139fa1199fc94cc04f9a.tar.gz