Download Latest Version Version 2.2.1 source code.zip (623.3 kB)
Email in envelope

Get an email when there's a new version of Liquid Prompt

Home / v2.1.0
Name Modified Size InfoDownloads / Week
Parent folder
liquidprompt-v2.1.0.tar.gz 2022-05-25 621.7 kB
README.md 2022-05-25 6.7 kB
Version v2.1.0.tar.gz 2022-05-25 334.0 kB
Version v2.1.0.zip 2022-05-25 364.4 kB
Totals: 4 Items   1.3 MB 0

See the v2.1.0 release notes for an overview of the improvements and features in this version.

Deprecated

  • env: LP_ENABLE_FQDN replaced with LP_HOSTNAME_METHOD=full (#472)
  • utils: _lp_as_text() replaced with __lp_strip_escapes() (6085cd2)

Added

  • aws: AWS profile display (#496, [#679], 4c8ac92)
  • bash: Compatibility with bash-preexec (#672)
  • battery: Linux sysfs backend (#689)
  • container: Container status data source (#569, [#612], [#709])
  • 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)
  • temp: Linux sysfs backend (#623)
  • 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: 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)

Thanks to

  • Martin Schütte (@mschuett) for implementing Kubernetes context data source feature (#578).
  • Sam Pearson (@sagepe) for implementing AWS_PROFILE environment variable feature (#496).
  • Étienne Deparis (@milouse) for implementing ruby/gemset data source feature (#628) and fixing some refactoring bugs (#671).
  • Ken Crowell (@oeuftete) for implementing Terraform workspace data source feature (#669).
  • Ian Smith (@ismith) for implementing Kubernetes context prefix/suffix stripping (#673) and compatibility with bash-preexec (#672).
  • Emil Lerch (@elerch) for adding support for AWS_VAULT (#679).
  • Michael Livshin (@cmm) for improving how Liquidprompt interacts with shell options (#663) and reporting temperature bug (#686).
  • Slobodan Todorov (@todorowww) for implementing the sysfs backend for battery data source (#689).
  • Simon Chopin (@schopin-pro) for fixing detection of invalid environments (#688).
  • @Mice7R for improving sudo detection (#702).
  • Alan Hoyle (@alanhoyle) for implementing container environment data source feature (#653).
  • David Caro (@Terseus) for implementing Nodeenv support (#495).
  • Mark Korondi (@kmARC) for implementing NVM support (#561).
  • Thomas Guimbretiere (@ProfMobius) for implementing custom core prompt brackets while in multiplexer (#453).
  • Marco d'Itri (@rfc1036) for implementing sysfs temperature (#623) and suggesting systemd-nspawn containers support (#709).
  • Dugan Chen (@duganchen) for fixing broken links in the documentation (#662).
  • Aleksey Tsalolikhin (@atsalolikhin-spokeo) for fixing typos in the documentation (#664).
  • Otto Kekäläinen (@ottok) for improving documentation (#678).
  • Tiziano Santoro (@tiziano88) for requesting config option for datetime format (#281).
  • Michael Louis Thaler (@mithaler) for reporting a bug with Ruby and Zsh (#667).
  • Ludovic Rousseau (@LudovicRousseau) for reporting a bug with temperature detection (#670).
  • Michael Große (@micgro42) for reporting missing documentation (#676).
  • Niko Storni (@nikooo777) for reporting invalid acpi detection (#690).
  • Chris Weyl (@rsrchboy) for reporting bug when no Kubernetes context exists (#695).
  • Federico Stra (@FedericoStra) for reporting slowness issue with command_not_found_handle and VCS (#696).
  • Éloi Rivard (@azmeuk) for requesting LP_HG_COMMAND config option (#701).
  • Roman (@hatifnatt) for reporting inconsistency with FQDN support (#472).
  • Janne Himanka (@jhimanka) for requesting systemd pretty hostname support (#596).
  • Peter van Dijk (@Habbie) for requesting shell nesting level support (#606).
  • Martin Blanchard (@t-chaik) for requesting Toolbox containers data source support (#612).
  • Felix Eckhofer (@tribut) for reporting issue with Telnet detection in Guake terminal (#483).
  • François GUÉRIN (@frague59) for suggesting Python virtualenv prompt value support (#708).
  • Kyle P Davis (@KylePDavis) for requesting Nodeenv support (#298).
  • Olivier Mengué (@dolmen) for suggesting static sudo check (#344).
  • Brian May (@brianmay) for suggesting VCSH improvement (#363).
  • Joseph Bass (@jab416171) for requesting Wifi signal strength support (#139).
  • @dreamcat4 for requesting support of Bash 5.1+ PROMPT_COMMAND array (#684).
Source: README.md, updated 2022-05-25