Changelog
And we are back from vacation, with a packed eza release.
One highlight to take note of this release is custom theme files!
Custom Themes
Eza has recently added support for a theme.yml
file, where you can specify all of the existing theme-ing options
available for the LS_COLORS
and EXA_COLORS
environment variables, as well as the option to specify different icons
for different file types and extensions. Any existing environment variables set will continue to work and will take
precedence for backwards compatibility.
An example theme file is available in docs/theme.yml
, and needs to either be placed in a directory specified by the
environment variable EZA_CONFIG_DIR
, or will looked for by default in $XDG_CONFIG_HOME/eza
.
Full details are available on the man page and an example theme file is included here
Bug Fixes
- Remove unnecessary map and make clippy happy
- Adjust grid details for CI tests
- Imports and merge conflicts
- Rustfmt issues
- Clippy issues
- Revise UiStyles::plain to have no style at all
- Pr reviews fixes for theme file
- Selectively filter files when recursing #1101
- Fix typo in FromOverride impl
- Add serde(default) to StyleOverride.foreground/background fields
Documentation
- Add Flox to INSTALL.md
- Add ic for icon color to colors man page
- Add further documentation about theme file
Features
- Add c++ module interfaces as source file types
- Add icon field to UiStyles
- Add ic key for UiStyles icon in set_exa
- Add None as icon value in UiStyles.default_theme
- Add icon function to FileNameColours trait
- Implement FileNameColours.icon for Theme
- Adjust FileName.paint to consider possible icon color
- Begin implementation of config file
- Allow writing default theme.yml file for eventual config file implementation
- Theme file configuration base
- Add IconOverrides struct and UiStyles.icon_overrides
- Add icon_override function to FileNameColours trait
- Implement FileNameColours.icon_override for Theme
- Handle icon overrides in FileName.paint
- Add example config for icon_overrides
- Rename UiStyles.icon_override to icons and add Style field
- Add shorthand aliases to StyleOverride variables
- Add custom deserialize_color and use in StyleOverride
- Outsource color_from_str function to make it testable
Miscellaneous Tasks
- Release eza v0.19.2
Refactor
- Simplify icon style setting in FileName.paint
- Make every setting optional with override layer
- Simplify sample theme.yml
- Formatting for rustfmt macro
Styling
- Fix clippy issue in FileName.paint
- Apply rustfmt
- Simplify from_str_radix calls to please clippy
Testing
- Add unit tests for color_from_str function
Build
- Bump windows-sys from 0.52.0 to 0.59.0
Ci
- Allow MPL-2.0
Checksums
sha256sum
0de75a2e2a1b53181e9ddc307595f5b21cfe3897301f570a3570ab3f0281b0c8 ./target/bin-0.19.2/eza_aarch64-unknown-linux-gnu.tar.gz
aa979f0a8609976344fa54b7dc99472532cd65af66c037076a78fc63be4b0747 ./target/bin-0.19.2/eza_aarch64-unknown-linux-gnu.zip
ec8b904da98c2cc675e4d2d790cb71369bbb4dc0d736ebdc96a46a104a908e01 ./target/bin-0.19.2/eza_arm-unknown-linux-gnueabihf.tar.gz
cda9699c2a209949c8d8a4b29bf31837ce7aaba8fb14989d765e41be828d1cc3 ./target/bin-0.19.2/eza_arm-unknown-linux-gnueabihf.zip
b396295fce6a7f9d2d0285ed4fadc2e27f4f7cf5d4abe45b2bdd27a5303e862b ./target/bin-0.19.2/eza.exe_x86_64-pc-windows-gnu.tar.gz
ba631e9317165836a30ed3cf154f0c48f8c105c314f72dd55f720e3fed503c22 ./target/bin-0.19.2/eza.exe_x86_64-pc-windows-gnu.zip
2198529bf8fbabf069dc232f106c2c474e29b9d7571611f64e04299e0899b33b ./target/bin-0.19.2/eza_x86_64-unknown-linux-gnu.tar.gz
91b282fc6d456554fe1b4e7420ac9809d7381ba5a59dd1f5f56cbfcc17cd7b52 ./target/bin-0.19.2/eza_x86_64-unknown-linux-gnu.zip
df3253d6215087b3b614ee1ffc5b951af53236ba887cbe7e548b14c50cd755d3 ./target/bin-0.19.2/eza_x86_64-unknown-linux-musl.tar.gz
a90cce4ca7ae6ec296fa6da7eb4aecc94153a7cfb54267303d197dec335703ec ./target/bin-0.19.2/eza_x86_64-unknown-linux-musl.zip
md5sum
b536c0d6d7c6b4303d620a6b703a721a ./target/bin-0.19.2/eza_aarch64-unknown-linux-gnu.tar.gz
6aa9b1dcb9f96daed27dd74585aa16ee ./target/bin-0.19.2/eza_aarch64-unknown-linux-gnu.zip
b4508e45412f871f362416770d756369 ./target/bin-0.19.2/eza_arm-unknown-linux-gnueabihf.tar.gz
0e72b99f6f6a7336f40c38c754a80f35 ./target/bin-0.19.2/eza_arm-unknown-linux-gnueabihf.zip
e1f7c7eda0c95083d6c82f3ff92a8bad ./target/bin-0.19.2/eza.exe_x86_64-pc-windows-gnu.tar.gz
5aa2e0affd95bbc7d65f8e3ab086f8fc ./target/bin-0.19.2/eza.exe_x86_64-pc-windows-gnu.zip
bf6442dc45a5f39bb7ea9bf7a954eaae ./target/bin-0.19.2/eza_x86_64-unknown-linux-gnu.tar.gz
b6c792e7cba6d2ad346548b3e8eaa000 ./target/bin-0.19.2/eza_x86_64-unknown-linux-gnu.zip
1cb4f3cd02e6153d10e4cfe872811b90 ./target/bin-0.19.2/eza_x86_64-unknown-linux-musl.tar.gz
06197e2af01367f0269d964177d22d5f ./target/bin-0.19.2/eza_x86_64-unknown-linux-musl.zip
blake3sum
2058e84613627f90a26f75ab09b749703836706115a04b69ade321d58d7f255a ./target/bin-0.19.2/eza_aarch64-unknown-linux-gnu.tar.gz
ec63581afdf96fa8411d1a2e522d21f0fa555b06595e44a3b458554261938231 ./target/bin-0.19.2/eza_aarch64-unknown-linux-gnu.zip
5bc1912ae22d33de234b205abb6e2f4fe4587d780d7062e07ee0e878cdc84e32 ./target/bin-0.19.2/eza_arm-unknown-linux-gnueabihf.tar.gz
299aa57b10c98b53aace17501a231a86b7125ccd86a812e39c016457a618e1a1 ./target/bin-0.19.2/eza_arm-unknown-linux-gnueabihf.zip
5f6dc18d0e7f0047801f993f8ee63ece0937ade00c425c57eb384b9e88748e05 ./target/bin-0.19.2/eza.exe_x86_64-pc-windows-gnu.tar.gz
291d2b831502d169845775a47eab9bcebb724aee3a85120f6d0a153583383b66 ./target/bin-0.19.2/eza.exe_x86_64-pc-windows-gnu.zip
4c85dcd40d45b9778e02b9276e25ecccc4cc2ab2362f021a52ed33ed3ad96a45 ./target/bin-0.19.2/eza_x86_64-unknown-linux-gnu.tar.gz
b9b82a0046fec737112dac6414966662c15c5b4c0e4f1d3232f98cdc2a25fe45 ./target/bin-0.19.2/eza_x86_64-unknown-linux-gnu.zip
3283503c9a70bdd7dc3c887e411fcb0a0065dc3a71a6cd63ad1b43b6a42372a5 ./target/bin-0.19.2/eza_x86_64-unknown-linux-musl.tar.gz
a0da7357813842e64cdd67298ebfe62ae38627a0210ac0b49ba9754b9bfa063d ./target/bin-0.19.2/eza_x86_64-unknown-linux-musl.zip