Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh-powerlevel10k: v1.3.0 → v1.4.0 #82724

Merged
merged 2 commits into from Mar 16, 2020

Conversation

mweinelt
Copy link
Member

@mweinelt mweinelt commented Mar 16, 2020

Motivation for this change

New upstream release.

https://github.com/romkatv/powerlevel10k/releases/tag/v1.4.0

Also updates gitstatus which is used in powerlevel10k.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@maralorn @flokli

Changes since the last release

    New prompt segments:
        package: shows npm name and version from package.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 to moderate, some icons will have an extra space after them. This is meant to avoid icon overlap when using non-monospace fonts. When set to none, 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. BEL 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 using my_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.

    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.
@mweinelt
Copy link
Member Author

Happily updated using nix-update 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants