Releases: liquidprompt/liquidprompt
Releases · liquidprompt/liquidprompt
Version 2.2.1
Added
Fixed
- general: Bump version number (2121394)
- general:
_lp_version_greatereq
crash on release version with set -u enabled (2121394) - disk: Error on file system with no space (#841)
- perl:
plenv
andperlbrew
source displaying "system" (#834) - ruby:
rbenv
andrvm-prompt
source displaying "system" (#834) - tmux: Wrong
LP_TITLE_OPEN
for tmux (#839) - tools: Remove sprunge.us recommendation (#837)
- tools: Update external-tool-tester.sh with new tools (6868057)
Changed
Version 2.2.0
Deprecated
- theme: Powerline themes deprecated. Use split off project liquidprompt/liquidprompt-powerline instead (#830)
Added
- general:
_lp_fill()
function for use by themes (#738, #803) - general:
_lp_join()
function for use by themes (67a4221) - general:
_lp_version_greatereq()
function for use by themes (#752) - general:
_lp_version_string()
function for use by themes (#752) - general:
config-from-doc.sh
script (#772) - general: Multple config presets (#755, #772)
- chroot:
LP_ENABLE_CHROOT
config option (#801) - cmake: CMake option display (d8254c6)
- disk: Disk space display (#771)
- display:
LP_ENABLE_DISPLAY
config option (#801) - docs: List features disabled by default (#750)
- docs: Spell checking workflow (787e03e)
- env: User defined env variables section (#722, #754, #829)
- env:
end_color
paramater to_lp_env_vars()
(#798) - env:
LP_SHLVL_THRESHOLD
config option (#821) - error: Display meaning of exit code (#729, #745)
- git: Display of remote for branch (#784)
- jobs: Configurable jobs separator (#743)
- modules: Environment modules support (#763, #766)
- multiplexer:
LP_ENABLE_MUX
config option (#801) - os: Display OS data (#724, #756)
- path: Option to disable path display (#775)
- path: Path sections as hyperlinks (#659, #668)
- perl: Support for Perlbrew and plenv display (#812)
- ram: Display available RAM (#770, #788)
- ruby: Tests for rvm support (#815)
- temp:
LP_TEMP_SYSFS_IGNORE_FILES
config option (#807) - theme: Dev env section (67a4221)
- theme: Extra optional parameters to
theme-preview.sh
(#805) - theme: New Unfold theme (#746, #795, #805)
- theme: Status bar example scripts (#775, #816)
- theme:
LP_THEME
variable to set current theme (#792) - theme:
templates/minimal/minimal.ps1
; replacingliquid.ps1
(#767, #805) - theme:
_lp_<theme_id>_theme_version_check()
hook for themes (046d830) - tmux:
LP_ENABLE_TMUX_TITLE_PANES
option (c74a9e4)
Fixed
- general: Some error messages printing to stdout instead of stderr (#826)
- bash: Avoid running
__lp_set_prompt()
multiple times (#824) - bash: Avoid running hooks on empty command line (436b1b5)
- bash: Runtime of the previous command was still showed on subsequent prompts (436b1b5)
- bash: Command timing incorrect on Bash 5.1+ when not last to init (6f2ca7e)
- bash: Slow
__lp_strip_escapes()
in deep directory hierarchy (#831) - docs: Improved docs on theme switching (#765, #767)
- docs: Incorrect reference to test script in developer docs (#811)
- docs: Reword Arch Linux install instructions (#822, #823)
- git: Printed error if error during interactive rebase (#758, #759)
- hostname: Hostname hash on systems without
hostname
binary (#776) - load: Load display on Android systems (#587)
- multiplexer:
_lp_multiplexer()
return variable incorrectly namedlp_mulitplexer
(#748) - python: Poetry virtualenvs showing "prompt =" (#760)
- tests: Bash preexec tests not working in screen/tmux (#773)
- tests: Shellcheck not checking
liquidprompt
file (ff44057) - theme: Avoid costly strip escape on filling sequence (#803)
- theme-preview: Set SSH context for display (#769)
- theme-preview: Stop indenting prompts to fix multiline prompts (#744)
- zsh: errors when
ksh_arrays
set (708635b)
Changed
- general: Move project to "liquidprompt" GitHub organization.
- docs: Improve marketing (#731)
- docs: Unify project name as "Liquid Prompt" (#677)
- docs: Update docs with new features in v2.2 (#795)
- error: Avoid showing the 130 error code after hitting Ctrl-C or empty command line (#827)
- tests: Print name of failed tests at end of script (9992fce)
- theme:
liquid.ps1
reworked and moved totemplates/minimal/minimal.ps1
(#805)
Removed
Version v2.2.0 Release Candidate 2
Added
- chroot:
LP_ENABLE_CHROOT
config option (#801) - display:
LP_ENABLE_DISPLAY
config option (#801) - env:
end_color
paramater to_lp_env_vars()
(#798) - multiplexer:
LP_ENABLE_MUX
config option (#801) - temp:
LP_TEMP_SYSFS_IGNORE_FILES
config option (#807) - theme: Extra optional parameters to
theme-preview.sh
(#805)
Fixed
- theme: Avoid costly strip escape on filling sequence (#803)
- theme: Minimal template not working at all (#805)
- zsh: Zsh crash in Unfold theme (#805)
Changed
Version v2.2.0 Release Candidate 1
See the Changelog for the complete set of changes since v2.1.2. Documentation for this release can be found here.
2.2.0-rc.1 - 2023-10-23
Added
- general:
_lp_fill()
function for use by themes (#738) - general:
_lp_join()
function for use by themes (67a4221) - general:
_lp_version_greatereq()
function for use by themes (#752) - general:
_lp_version_string()
function for use by themes (#752) - general:
config-from-doc.sh
script (#772) - general: Multiple config presets (#755, #772)
- cmake: CMake option display (d8254c6)
- disk: Disk space display (#771)
- docs: List features disabled by default (#750)
- docs: Spell checking workflow (787e03e)
- env: User defined env variables section (#722, #754)
- error: Display meaning of exit code (#729, #745)
- git: Display of remote for branch (#784)
- jobs: Configurable jobs separator (#743)
- modules: Environment modules support (#763, #766)
- os: Display OS data (#724, #756)
- path: Option to disable path display (#775)
- path: Path sections as hyperlinks (#659, #668)
- ram: Display available RAM (#770, #788)
- theme: Dev env section (67a4221)
- theme: New Unfold theme (#746)
- theme: Status bar example scripts (#775)
- theme:
LP_THEME
variable to set current theme (#792) - tmux:
LP_ENABLE_TMUX_TITLE_PANES
option (c74a9e4)
Fixed
- docs: Improved docs on theme switching (#765, #767)
- git: Printed error if error during interactive rebase (#758, #759)
- hostname: Hostname hash on systems without
hostname
binary (#776) - load: Load display on Android systems (#587)
- multiplexer:
_lp_multiplexer()
return variable incorrectly named
lp_mulitplexer
(#748) - python: Poetry virtualenvs showing "prompt =" (#760)
- tests: Bash preexec tests not working in screen/tmux (#773)
- theme-preview: Set SSH context for display (#769)
- theme-preview: Stop indenting prompts to fix multiline prompts (#744)
- zsh: errors when
ksh_arrays
set (708635b)
Changed
Version v2.1.2
Version v2.1.1
Fixed
- battery: Error messages printed with buggy driver with sysfs backend (#713)
- temp: Error messages printed with buggy driver with sysfs backend (#713)
Thanks to
- Florian "KopfKrieg" (@KopfKrieg) for reporting sysfs issue (#713)
Version v2.1.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 withLP_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 customizehg
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()
returns2
instead of3
(#696) - python: Load virtualenv name from venv config first (#708)
- sudo: Use the
--validate
flag instead of runningtrue
(#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).
Version v2.1.0 Release Candidate 1
This is the diff from Beta 1. See the Changelog for the complete set of changes since v2.0.5. Documentation for this release can be found here.
Deprecated:
- utils:
_lp_as_text()
replaced with__lp_strip_escapes()
(6085cd2)
Added:
- temp: Linux sysfs backend (#623)
Changed:
- docs: Update theme previews to include shell nesting level (591493a)
- node: Disable Node.js virtualenv feature by default (0234eb1)
Fixed:
Version v2.1.0 Beta 1
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 withLP_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 customizehg
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()
returns2
instead of3
(#696) - python: Load virtualenv name from venv config first (#708)
- sudo: Use the
--validate
flag instead of runningtrue
(#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)