See the v2.0.0 release notes for an overview of the improvements and features in this major version.
BREAKING CHANGES
Note: these breaking changes are the only reason that this version is so much faster. They are also on private functions and variables, which end users were not supposed to use. If you were using them, see the upgrade notes for help.
- general:
$_LP_SHELL_bash
and$_LP_SHELL_zsh
contain1
or0
instead oftrue
orfalse
(f681cdf) - general:
_lp_color_map()
return changed from stdout to$ret
(e843ccf) - general:
_lp_escape()
renamed to__lp_escape()
and return changed from stdout to$ret
(f3404f9) - general:
_lp_set_prompt()
renamed to__lp_set_prompt()
(decaece) - general:
_lp_source_config()
renamed to__lp_source_config()
(decaece) - battery:
_lp_battery()
return changed from stdout to$lp_battery
(3f57231) - battery:
_lp_battery_color()
return changed from stdout to$lp_battery_color
(3f57231) - env:
$lp_err
renamed to$lp_error
(63b9f73) - env:
_lp_connection()
return changed from stdout to$lp_connection
(edc490f) - git:
_lp_git_head_status()
return changed from stdout to$lp_vcs_head_status
(7c21470) - jobs:
_lp_jobcount_color()
return changed from stdout to$lp_jobcount_color
(73f2057) - load:
_lp_load_color()
return changed from stdout to$lp_load_color
(8a987f4) - path:
_lp_get_home_tilde_collapsed()
renamed to__lp_pwd_tilde()
and return changed from stdout to$lp_pwd_tilde
(28c13f2) - path:
_lp_set_dirtrim()
renamed to__lp_set_dirtrim()
(decaece) - path:
_lp_shorten_path()
replaced by_lp_path_format()
(decaece, a35032f, ae769dc) - runtime:
_lp_runtime()
renamed to_lp_runtime_color()
and return changed from stdout to$lp_runtime_color
(0f0fd37) - runtime:
_lp_runtime_after()
renamed to__lp_runtime_after()
(decaece) - runtime:
_lp_runtime_before()
renamed to__lp_runtime_before()
(decaece) - temperature:
_lp_temp_acpi()
renamed to__lp_temp_acpi()
and return changed from$temperature
to$lp_temperature
(69c75a3) - temperature:
_lp_temp_detect()
renamed to__lp_temp_detect()
(69c75a3) - temperature:
_lp_temp_sensors()
renamed to__lp_temp_sensors()
and return changed from$temperature
to$lp_temperature
(69c75a3) - temperature:
_lp_temperature()
changed to data function, replaced by_lp_temperature_color()
and return changed from stdout to$lp_temperature_color
(69c75a3) - time:
_lp_time()
split into_lp_time()
,_lp_time_color()
,_lp_analog_time()
, and_lp_analog_time_color()
(8cb609d) - vcs:
_lp_<vcs>_branch()
return changed from stdout to$lp_vcs_branch
(f3404f9) - vcs:
_lp_<vcs>_branch_color()
functions removed, replaced by_lp_vcs_details_color()
(cafb8b2, bf2b9c6, 1a9fcd0, 4fff496, b523025) - vcs:
_lp_smart_mark()
return changed from stdout to$lp_smart_mark
(9c6d073) - vcs:
_lp_upwards_find()
removed, replaced by_lp_find_vcs()
(f434b6d)
Deprecated, Added, Fixed, Changed, Removed
See the full Changelog for details.
Thanks to
- Dimitrie Hoekstra (@dimitrieh) for requesting VCS root highlighting in path.
- Felix Schlitter (@felixSchl) for requesting VCS root highlighting in path.
- Fabien MARTY (@thefab) for reporting `sensors verbose error messages.
- Alessio Garzi (@Ozzyboshi) for reporting `sensors verbose error messages.
- Mathieu MD (@mathieumd) for reporting `sensors verbose error messages.
- Mike Simonson (@mikeSimonson) for reporting `sensors verbose error messages.
- Romano Giannetti (@Rmano) for reporting `sensors verbose error messages.
- Paulo Cazarotto (@phcco) for reporting `sensors verbose error messages.
- Jürgen Weigert (@jnweiger) for reporting `sensors verbose error messages.
- Sven-Hendrik Haase (@svenstaro) for reporting `sensors verbose error messages.
- Paul Lhussiez (@Depado) for reporting lacking documentation around path shortening to last directory.
- Cyril Bouthors (@cyril-bouthors) for reporting
set -u
issues. - Christoph Burschka (@cburschka) for requesting a method to always display a matching Git tag.
- Iain Hallam (@iainhallam) for requesting 256 color support.
- @dreamcat4 for requesting Powerline support.
- Munif Tanjim (@MunifTanjim) for requesting and implementing an alternate VCS display theme.
- @ilovezfs for suggesting more detailed Git head statuses.
- Aleksey Tsalolikhin (@atsaloli) for suggesting an
LP_ENABLE_ERROR
config option. - Micah Silverman (@dogeared) for reporting multipler lookup slowness.
- Rohan Kapadia (@kapad) for reporting terminal title issues on MacOS.
- Étienne Deparis (@milouse) for implementing Mercurial bookmark display.
- Jan Gorecki (@jangorecki) for requesting hot swappable themes.
- Otto Kekäläinen (@ottok) for requesting terminal title improvements.
- Hynek Vychodil (@pichi) for describing CPU load average issues.
- Tore Anderson (@toreanderson) for describing CPU load average issues and suggesting fixes.
- Sandro Jäckel (@SuperSandro2000) for updating the default template file.
- David Pape (@zyzzyxdonta) for implementing the dirstack feature.
- Aksel Sjögren (@akselsjogren) for fixing config variable usage in Powerline theme.
- Raina Otoni (@rotoni) for fixing an IFS bug.
- Viorel-Cosmin Miron (@uhlhosting) for reporting Zsh special variable issues.
- Brad Beyenhof (@augmentedfourth) for consulting on packaging issues and adding documentation on machine specific configuration.
- Arturo Borrero Gonzalez (@aborrero) for consulting on packaging issues.
- John Hamelink (@johnhamelink) for adding install instructions for Zinit.
- Ned Batchelder (@nedbat) for reporting Zsh completion and VCS binary files issues.
- Gary Wolfman (@OldCrow) for reporting Zsh-5.0.X issues.
- @Orgams for requesting _lp_vcs_staged_files() / lines().
- @YouthfulIndiscretion for reporting issues with
LP_MARK_PREFIX
documentation. - Imran Munshi (@imran27) for reporting issues with
LP_MARK_PREFIX
documentation.