Skip to content

Version v2.1.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 16 May 18:48
v2.1.0-beta.1
7fd7cf7

A long time coming, but it is almost here. There are no Upgrade or Release Notes yet, those will come soon before the first release candidate. Documentation for this release can be found here.

There is not yet a feature freeze on this window, but most likely nothing else from the v2.1 milestone will make it into this window, and will be shoved to v2.2.

Deprecated

  • env: LP_ENABLE_FQDN replaced with LP_HOSTNAME_METHOD=full (#472)

Added

  • aws: AWS profile display (#496, #679, 4c8ac92)
  • bash: Compatibility with bash-preexec (#672)
  • battery: Linux sysfs backend (#689)
  • battery: ACPI backend option to choose battery (#687)
  • container: Container status data source (#569, #612, #709)
  • env: Return unescaped hostname in _lp_hostname() (#665, a23af79)
  • env: Return unescaped username in _lp_username() (#665, a23af79)
  • env: LP_HOSTNAME_METHOD=fqdn displays true FQDN (#472)
  • env: LP_HOSTNAME_METHOD=pretty shows display name (#596)
  • env: Nested shell level data source (#606)
  • hg: LP_HG_COMMAND config option to customize hg binary (#701)
  • k8s: kubectl current context display (#578, #673, #681, #695, d41b5c8)
  • multiplexer: Custom prompt brackets in multiplexers (#453)
  • node: Node.js environment display (#298)
  • path: Return unescaped path in lp_path in _lp_path_format() (a23af79)
  • ruby: Ruby environment display (#628, 239a574, #676, 59078f0)
  • terraform: Terraform workspace support (#669)
  • title: Title command feature (#609, #665, 0c23a33, a23af79)
  • vcsh: Print the VCSH directory name in the custom prompt mark (#363)
  • wifi: Wireless signal strength data source (#139)

Fixed

  • bash: Support for Bash 5.1+ PROMPT_COMMAND as array (#684)
  • color: LP_COLORMAP reverting to default value (145f146)
  • docs: Outdated link to Symbola font project page (#662)
  • docs: Small typos and license clarification (#664, #678, 66d1d2b)
  • git: Git worktrees would never detect repo states (1be52e0)
  • git: Respect environment variable GIT_DIR (1be52e0)
  • path: Add __lp_escape() calls to _lp_path_format() (36ab8fa, a23af79)
  • powerline: First character color issue in Zsh and Bash-3.2 (70ce708)
  • powerline: Array issues in Bash-3.2 (77dc561)
  • ruby: Zsh crash on rbenv output parse (#667)
  • temp: High temp values would stick (#686)
  • term: Some terminal emulators being detected as Telnet connections (#483)
  • term: Early exit on TERM=unknown (#688)
  • zsh: local bugs in Zsh-5.0 (7db4ada)

Changed

  • general: Directly generate prompt mark instead of escape code (#665, 1a22e1e)
  • general: Remove backslash escaping from Zsh __lp_escape() (658ce84)
  • general: Refactor internal shell hooking implementation (0ce7646)
  • bash: Avoid setting any shell options (#663, a1d0a54)
  • env: Lookup hostname instead of escape code (#665, 0368523)
  • env: Lookup username instead of escape code (#665, 61df03a)
  • hg: _lp_hg_commits_off_remote() returns 2 instead of 3 (#696)
  • python: Load virtualenv name from venv config first (#708)
  • sudo: Use the --validate flag instead of running true (#702)
  • sudo: Make _lp_sudo_active() a no-op if user has NOPASSWD (#344)
  • time: Call date to generate time instead of escape code (#665, dd1f8f8)
  • tests: All included themes run through theme-preview tester (3b75185)
  • tests: test.sh accepts shells as arguments (9a2c067)
  • vcs: Unsupported VCS functions defined as empty functions (#696)
  • zsh: Avoid setting any shell options except for promptpercent (58969b2)

New Contributors