Releases: romkatv/powerlevel10k
Releases · romkatv/powerlevel10k
v1.9.0
Changes since the last release
- gitstatus
- Don't show instant prompt if gitstatus is likely to download
gitstatusd. - Verify sha256 of downloaded
gitstatusdbinaries. - Add a mirror on gitee.com for faster download from China.
- Display progress when downloading
gitstatusd. Interrupt instant prompt if necessary. - Do not apply timeout from
gitstatus_start -tto the downloading ofgitstatusd. - Revert
gitstatus_starttimeout back to 5 seconds.
- Don't show instant prompt if gitstatus is likely to download
Message for @shibumi: https://github.com/romkatv/libgit2/archive/tag-005f77dca6dbe8788e55139fa1199fc94cc04f9a.tar.gz
v1.8.2
v1.8.1
v1.8.0
Changes since the last release
-
Big changes that might break stuff
- Powerlevel10k Git repository no longer stores gitstatusd binaries. Instead, appropriate binaries are downloaded automatically when necessary.
-
New and changed parameters
POWERLEVEL9K_DIR_SHOW_WRITABLEcan now be set tov2. This will append_NOT_WRITABLEto the current directory class if the directory is not writable. It allows you to define colors and icons for directories based on their patterns and whether you can write to them.P9K_PYENV_PYTHON_VERSIONis now available withinpyenvcontent expansion. E.g., if you usepyenvto create a virtual environment calledkawabanga, you might want to display it askawabanga 2.7.3. Now you can.- Values of
POWERLEVEL9K_VIRTUALENV_GENERIC_NAMESare now treated as patterns.
-
Robustness
- Powerlevel10k is now less likely to get its state corrupted if you vigorously spam Ctrl-C.
- Instant prompt will no longer issue its warning when you send cursor shape escape sequences to stdout. Nevertheless, it's still recommended that you send terminal escape sequences to
$TTYrather than stdout. - Powerlevel10k now works around bugs (marketed as features) in Kitty that cause Kitty to hang when you close Zsh.
-
Bug fixes
- Powerlevel10k no longer prevents you from unmounting the directory in which you've started Zsh.
- Instant prompt will no longer occasionally have flashbacks where it shows you prompt styled with some ancient config.
- When
truncate_to_uniqueshortens a directory segment, it no longer can produce just dots even if said dots constitute unique prefix.
Build time dependencies
This section of release notes is retired because releases of Powerlevel10k from now on are self-contained. See FAQ:
v1.7.0
Changes since the last release
-
New and changed parameters
POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKERcan now be set tolast(equivalent totruefrom older versions) orfirst(new feature).
-
Bug fixes
- gitstatus once again works on 32-bit ARM Linux (armv6l and armv7l).
Build time dependencies
Unchanged since the last release.
v1.6.1: wizard bug fixes: screen redraws, spurious errors, frame selection
Changes since the last release
- Bug fixes
- Configuration wizard no longer redraws screen every second
- Configuration wizard no longer prints spurious errors before the charset screen
- Configuration wizard once again honors prompt frame selection
Build time dependencies
Unchanged since the last release.
v1.6.0
Changes since the last release
-
Wizard
- Configuration wizard now reacts to terminal size changes in real time and can function at much smaller terminal dimensions.
- Configs with
prompt_charnow havevi_modedisabled by default. - Generated configs now unset
DEFAULT_USER. - Classic and Rainbow configs now set
POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_GAP_BACKGROUND. This makes it easier to define 3-line prompt.
-
New parameters
- If
POWERLEVEL9K_CONFIG_FILEis set, configuration wizard will write configs to the specified location instead of the default${ZDOTDIR:-~}/.p10k.zsh.
- If
-
gitstatus
- Support older macOS versions (at least El Capitan; even older versions might work).
- Support Linux on armv6, i386 and i686.
- Support cygwin and msys2 on i686.
- macOS builds now use iconv from Homebrew.
- gitstatusd binaries are now being built with https://github.com/romkatv/gitstatus/blob/release/mbuild.
-
Misc
- The default icon for
proxysegment is now↔instead of⮂. The old icon is missing in many fonts.
- The default icon for
-
Bug fixes
- gitstatus once again works on 64-bit Linux without glibc.
- Instant prompt no longer gets gradually slower over time when
XDG_HOME_CACHEis on a slow filesystem. - Instant prompt no longer prints spurious erros when
XDG_HOME_CACHEis on NTFS. - The old-style (and discouraged) custom prompts now work on zsh 5.3.1.
- Configuration wizard once again presents "extra icons" and "fluent prompt" options when using 12-hour time format.
Build time dependencies
v1.5.0
Changes since the last release
-
New and changed parameters:
- Two additional parameters are available in
gcloud:P9K_GCLOUD_CONFIGURATIONandP9K_GCLOUD_PROJECT_NAME. gcloudsegment can now be in two states:PARTIALandCOMPLETE. See documentation.
- Two additional parameters are available in
-
Wizard:
- The screen asking whether to display current time now offers a choice between two formats: 24-hour and 12-hour.
os_iconis no longer bold.- Slanted and flat separators are now using glyphs from Box Drawing Unicode block. They should look much better in fonts with correctly sized Box Drawing glyphs.
gcloudnow displays project name instead of project id whenever possible.
-
Bug fixes:
- Powerlevel10k no longer resolves symbolic links when invoking commands that might act differently depending on
argv[0]. java_versionnow works properly when using AdoptOpenJDK.
- Powerlevel10k no longer resolves symbolic links when invoking commands that might act differently depending on
-
Misc:
- Arch Linux users can now install Powerlevel10k with
pacman. See instructions. - There is a new version of MesloLGS NF (the recommended font) with better alignment of powerline glyphs and 44% larger icons (by area). iTerm2 users can upgrade by typing
p10k configure. Users of other terminals can follow manual installation instructions.
- Arch Linux users can now install Powerlevel10k with
Build time dependencies
Unchanged since the last release.
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*_EXPANSIONparameters.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_virtprompt 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
vcssegment when using a monospace font and not usingmy_git_formatter.
-
Wizard:
- Generated configs now set
POWERLEVEL9K_ICON_PADDINGin 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
unamedoesn'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
Build time dependencies
v1.3.0
Changes since the last release
- New prompt segments:
haskell_stack: haskell version from stack.
- New and changed parameters:
POWERLEVEL9K_MODEcan now be set toasciifor ASCII prompt.- The default value of
POWERLEVEL9K_VIRTUALENV_GENERIC_NAMESnow containsenv. - New parameter:
POWERLEVEL9K_JAVA_VERSION_PROJECT_ONLY. Displayjava_versiononly in java project (sub)directories. POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMANDnow containsistioctlandkogitoin all config templates. Thanks, @errantepiphany!- All
*envsegments now respectPOWERLEVEL9K_*ENV_SHOW_SYSTEM. If set tofalse, the segment will be hidden if its content is "system". The default value istrue. nodenvnow understandPOWERLEVEL9K_NODENV_SOURCES, just like all other*envsegments.POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTERnow has useful semantics (incompatible with powerleve9k, where it was useless). If set totrue, it'll remove the leading slash from the current directory if it's absolute. It no longer does anything if the directory is not absolute or if the leading character has been removed or changed by the shortener. This is meant for users who overridePOWERLEVEL9K_DIR_PATH_SEPARATOR.
- Robustness improvements:
- Powerlevel10k now works when there are no utf-8 locales on the machine.
- Configuration wizard:
- Lean, Classic and Rainbow styles now have an option to restrict prompt character set to ASCII.
- Styles that require 256 colors are not offered when terminal cannot display 256 colors.
- Rainbow and Classic styles now have an option to use flat heads. This option is offered in ASCII mode and when powerline glyphs are unavailable.
- Configuration wizard now restores screen upon exit.
- New segments in config templates:
haskell_stack(enabled by default) andjava_version(disabled by default).
- Bug fixes:
- Visual mode indicator now correctly switches back to command mode indicator after pressing
dand similar when using Zsh >= 5.3. Visual mode indicator no longer gets displayed in Zsh prior to 5.3. Please upgrade Zsh if this matters to you. *ENV_DIRparameters are now handled the same way as in the underlying*envprojects.
- Visual mode indicator now correctly switches back to command mode indicator after pressing
- Misc:
- There is no longer an empty line at the top of the screen after hitting Ctrl-L or typing
clearorreset, even withPOWERLEVEL9K_PROMPT_ADD_NEWLINE=trueandPOWERLEVEL9K_TRANSIENT_PROMPT=always. - It's now possible to install powerlevel10k with Homebrew.
- Subseparators are now displayed with the foreground color of the previous/next segment in left/right prompt. Used to be the other way around. Thanks, @ahaasler!
- There is no longer an empty line at the top of the screen after hitting Ctrl-L or typing
- gitstatus:
makenow producesusrbin/gitstatusdinstead of./gitstatusd.build.zshnow puts the binary inusrbinsubdirectory. If you place it in the same subdirectory of your gitstatus installation without changing the file name, gitstatus will pick it up automatically.