commit 31684ffc39217b55f775bc35b7409baf2d394bcc
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Sun Dec 19 17:15:39 2021 +0100
Fix usage of wrong types
Use numbers and not human-readable file sizes
commit 4627e491bff2257cf37136f00fcd2b0d2bae7279
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Sun Dec 19 17:11:10 2021 +0100
Remove unused function
commit aea999276baad7112feb3e7868be4881af362240
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Sun Dec 19 17:11:00 2021 +0100
Fix undefined function
commit 8afaabd33f1e7a7f0d991b72a1e4f8cb492c153b
Author: Lucien Cartier-Tilet <lucien@phundrak.com>
Date: Sun Dec 19 16:53:16 2021 +0100
Introduce `eshell-info-banner-file-size-flavor' custom option
This custom variable can hold three different values:
- nil
- si
- iec
This value is passed to `file-size-human-readable', see its
documentation for more information on the effect of this variable.
Since the value `iec' introduces an additional character in the size
displayed, some code is reorganized in order to keep the banner’s size
by reducing the length of the progress bar.
Some duplicate code is also merged in the new
`eshell-info-banner--progress-bar-without-prefix' function.
Update the README to reflect these changes.
The `Customizing' heading is now separated in two:
- one subheading for custom variables
- one subheading for faces
Fix byte-compile and package-lint errors as mentionned here
https://github.com/melpa/melpa/pull/7790#issuecomment-962727545
Fix a docstring that was too long, quoted `eshell-info-banner' in
three other docstrings.
Renaming functions may have introduced some breaking changes, hence
the update on the REAME. Since these were breaking changes, this
commit removes two functions as well which weren’t used internally
anymore.
eshell-info-banner will now default to duf if it is installed and
avaliable on the system, otherwise it will default to
platform-specific implementation.