github romkatv/powerlevel10k v1.15.0

latest releases: v1.20.0, v1.19.0, v1.18.0...
3 years ago

Features and improvements

  • New prompt segment: xplr.
  • aws prompt segment can now utilize P9K_AWS_PROFILE and P9K_AWS_REGION parameters. They are used in the default configs.
  • vcs prompt segment now displays "wip" if the latest commit's summary contains "wip" or "WIP".
  • Warning/critical thresholds used by load prompt segment can now be overridden with POWERLEVEL9K_LOAD_{WARNING,CRITICAL}_PCT.
  • azure prompt segment now supports customization classes similar to aws.
  • fluxctl and stern are now recognized as commands affected by the current kubernetes context.
  • Powerlevel10k now special-cases user:azhw:* widgets to work around bugs in add-zle-hook-widget.
  • battery prompt segment now attempts to read capacity before (energy|charge)_now to work around bugs on Android.
  • Git tag is no longer displayed when on a branch.
  • All CR bytes are now removed from prompt.
  • When POWERLEVEL9K_SHORTEN_STRATEGY is set to truncate_to_last, POWERLEVEL9K_SHORTEN_DIR_LENGTH can now be used to specify the number of trailing segments that should be kept.
  • P9K_IP_{RX,TX}_BYTES_DELTA are now available available within POWERLEVEL9K_IP_CONTENT_EXPANSION.
  • When searching for files in ancestor directories, the search now stops at $HOME rathen than right before it.
  • Python version in pyenv segment is now hidden if the rest of the content starts with it.

Bug fixes

  • Segments whose state contains numbers could not be hidden.
  • Expand c-escapes in kubectl configs.
  • Disable colors in the output of taskwarrior.
  • Correctly detect current python version when using pyenv.
  • Set P9K_PYENV_PYTHON_VERSION correctly when dealing with multiple pyenv versions.
  • Ignore comment lines in .python-version and similar files.
  • Don't leak token local variable in parser.
  • Use proper padding with VCS bookmark icon.

Don't miss a new powerlevel10k release

NewReleases is sending notifications on new releases.