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: 1.0 -> 1.1 #79116

Merged
merged 2 commits into from Feb 2, 2020
Merged

Conversation

mweinelt
Copy link
Member

@mweinelt mweinelt commented Feb 2, 2020

Motivation for this change

New upstream release. I've also updated gitstatus to match the version used in this zsh-powerlevel10k version. I'll also add myself as a maintainer for gitstatus.

Changes since the last release

Complete documentation overhaul. Powerlevel10k documentation is no longer embarrassing (still no reference though; coming "soon").
Worker pool and recursive globber have been rewritten for better performance and simpler code. Performance improvements (large speedup means an improvement in big-O and at least 2x in typical configurations):
    +15% prompt speedup across the board.
    Large prompt speedup for several rarely used prompt segments (disk_usage, ram, etc.).
    Large prompt speedup for a few prompt segments on macOS (battery, swap, etc.).
    Large prompt speedup when many prompt segments are active simultaneously.
    Large prompt speedup when filesystem is slow.
New prompt segments: nix_shell and timewarrior. Both enabled by default.
Configuration wizard:
    Many new options for Pure style (color scheme, number of lines, etc.)
    Several new options for 8-color version of Pure style.
    Better support for terminals with less than 256 colors.
    Lean, Classic and Rainbow style configs now have disk_usage and swap prompt segments (disabled by default).
    POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER now contains 'oc'.
New parameters:
    POWERLEVEL9K_LEGACY_ICON_SPACING=true makes spaces around icons appear just like in powerlevel9k.
    When in a vcs repo, POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER=true removes directory prefix that precedes repo root.
    P9K_KUBECONTEXT_USER can now be used in kubecontext format.
    POWERLEVEL9K_GOENV_SOURCES -- the same as POWERLEVEL9K_RBENV_SOURCES but or go.
    POWERLEVEL9K_TERRAFORM_CLASSES -- the same as POWERLEVEL9K_AWS_CLASSES but for terraform.
Bug fixes:
    Configuration wizard now correctly follows symlinks when modifying ~/.zshrc and ~/.p10k.zsh.
    ram prompt segment now works on WSL.
    Powerlevel10k now correctly works with zsh-you-should-use in hardcore mode.
    POWERLEVEL9K_PUBLIC_IP_HOST now points to a host that actually works.
    Instant prompt no longer prints nonsensical "entry=" in rare circumstances.
Misc:
    Config templates no longer work with POWERLEVEL9K_VISUAL_IDENTIFIER='' defined after them.
    Powerlevel10k now detects when Antigen corrupts its source and emits an appropriate error message.
    Command line parser now understands 'tabbed'.
    Remove all references to romkatv/dotfiles-public. Fonts are now hosted in romkatv/powerlevel10k-media together with all images and animations.
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.

cc @mmlb

Copy link
Contributor

@flokli flokli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and verified locally. Thanks!

@flokli flokli merged commit 62d149f into NixOS:master Feb 2, 2020
@mweinelt mweinelt deleted the pr/zsh-powerlevel10k/v1.1 branch February 2, 2020 22:27
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