3372 Commits
Author SHA1 Message Date
Christina Sørensen 471bfbc7b0 chore: eza v0.23.5 changelogs, version bump
Signed-off-by: Christina Sørensen <[email protected]>
2026-07-09 11:35:56 +02:00
Christina Sørensen 2ff7f1ab5e chore(template): update issue template labels
Standardizes label assignments across all issue templates to use the
`type:` prefix for better issue tracking and organization.
2026-07-09 11:28:22 +02:00
Christina Sørensen 1b9151491c feat: add --short-nix to abbreviate Nix store hashes
A path component starting with a Nix store hash — exactly 32
characters of Nix's base32 alphabet followed by a dash — is
displayed with the hash shortened to its first 8 characters plus an
ellipsis, painted dim so the actual name stands out:

    vlkia5wk0svsikwv50554mh06iayg2m2-source.drv
 -> vlkia5wk…-source.drv

This applies everywhere names are painted: listings in every view,
symbolic link targets, parent paths of targets, and --absolute
paths. The matcher requires the exact hash length and alphabet
(which has no e, o, t, or u), so ordinary file names are never
false-positively shortened.
2026-07-09 11:26:29 +02:00
Christina Sørensen 0864331165 fix: adapt Windows git2 path handling and refresh --help powertest
- git2 0.21 made StatusEntry::path fallible for non-UTF-8 paths;
  match on Ok in the non-unix branch (unix uses path_bytes and is
  unaffected)
- regenerate the --help powertest snapshot to include the new
  --code and --loc flags
2026-07-09 10:36:34 +02:00
Christina Sørensen a0c4117f1d build(deps): bump plist 1.8.0 -> 1.10.0
Pulls quick-xml 0.41, fixing RUSTSEC-2026-0194 (quadratic run time
checking start tags for duplicate attributes) and RUSTSEC-2026-0195
(unbounded namespace-declaration allocation in NsReader).

cargo deny check advisories is clean after this and the git2 bump.
2026-07-09 10:36:34 +02:00
Christina Sørensen 6f26fa0993 build(deps): bump git2 0.20 -> 0.21
Fixes RUSTSEC-2026-0183 (potential UB in Remote::list) and
RUSTSEC-2026-0184 (null-pointer Signatures from buffer-created
BlameHunks); eza uses neither API, but the advisories gate the
security_audit job. Adapts to Reference::shorthand returning a
Result for non-UTF-8 branch names in 0.21. Also drops the now
unused icu/url transitive tree from the lockfile.
2026-07-09 10:36:34 +02:00
Christina Sørensen 7ab2119e5f build(deps): bump crossbeam-epoch 0.9.18 -> 0.9.20
Fixes the security_audit failure (invalid pointer dereference in
fmt::Pointer for Atomic/Shared, crossbeam-rs/crossbeam#1276).
2026-07-09 10:36:34 +02:00
Christina Sørensen ac5830daac build: fix yamlfmt exclude pattern in treefmt.nix
treefmt v2 globs don't match the './' prefix, so the powertest.yaml
exclude never applied and yamlfmt kept reflowing the file in CI.
2026-07-09 10:36:34 +02:00
Christina Sørensen b0fdb0d6e0 fix(loc): satisfy newer clippy and stabilise powertest.yaml
- remove redundant #[must_use] on Report::languages (double_must_use)
- use is_multiple_of in the share-bar renderer (manual_is_multiple_of)
- drop a pre-existing needless double-borrow in a view.rs test
- reformat the powertest.yaml comment into yamlfmt's fixed-point form
  (verified stable across repeated yamlfmt runs)
2026-07-09 10:36:34 +02:00
Christina Sørensen 4a7bfa58fc feat: add lines-of-code counting and summary
Introduces a built-in lines-of-code (LOC) counter to `eza` that supports
over 50 programming languages.

- Adds the `--code` flag to provide a project-wide summary of code,
  comments, and blanks by language.
- Adds the `--loc` flag to include lines-of-code and language columns in
  the long view.
- Provides support for multiple display modes (`lines`, `percent`,
  `both`) for both flags.
- Includes comment-aware counting, respecting language-specific comment
  syntax while ignoring string literals.
- Updates completions for fish, nushell, powershell, and zsh to include
  the new flags.
2026-07-09 10:36:34 +02:00
Sebastian Correa 247fb8ed07 docs(install): Update Fedora install instructions
The Fedora package is now available in the official repositories, so
users can install directly from there.

References:
- https://bugzilla.redhat.com/show_bug.cgi?id=2413750
- https://packages.fedoraproject.org/pkgs/rust-eza/eza/
    - Shows version 0.23.4 for Fedora 42, 43 and 44.

Related to commit 57618a46bc.
2026-05-31 19:55:05 +02:00
Siddhartha Sahuandariasuni eed27ed05e test: check sort by extension
Co-authored-by: ariasuni <[email protected]>
2026-04-07 17:54:55 +02:00
Siddhartha Sahu 4f1ba6f79f fix: ignore extensions for directories when sorting 2026-04-07 17:54:55 +02:00
Henry Chu f822450c89 test: Update powertests 2026-03-30 16:16:59 +02:00
Henry Chu 72e323171c feat: Implement --hyperlink=auto 2026-03-30 16:16:59 +02:00
ariasuni 1e82e86304 fix(itest): update integration tests 2026-03-30 14:59:31 +02:00
ariasuni 0521448e41 fix(itest): enable powertest tests in the CI 2026-03-30 14:59:31 +02:00
ariasuni 744d1664ce chore: update .git-blame-ignore-revs 2026-03-08 03:20:56 +01:00
ariasuni ec46fbf392 chore: update to Rust edition 2024 2026-03-08 03:20:56 +01:00
ariasuni 0bd1f46b6f fix(ci): use secret GitHub token to avoid rate limiting
We can hit rate limiting when downloading Nix stuff, e.g.:

```
error: Failed to open archive (Source threw exception: error:
        … during download of 'https://api.github.com/repos/numtide/flake-utils/tarball/11707dc2f618dd54ca8739b309ec4fc024de578b'

        error: unable to download 'https://api.github.com/repos/numtide/flake-utils/tarball/11707dc2f618dd54ca8739b309ec4fc024de578b': HTTP error 401

        response body:

        {
          "message": "Bad credentials",
          "documentation_url": "https://docs.github.com/rest",
          "status": "401"
        })
```
2026-03-08 03:20:56 +01:00
ariasuni dd6628b60b chore: replace #[allow(unused)] by #[cfg(unix)] when appropriate
Biggest change is splitting platform-specific code from permissions.rs
(similarly to flags.rs in the same directory).
2026-03-08 03:20:56 +01:00
ariasuni c0fe456ba5 chore: remove some leftover, unused code 2026-03-08 03:20:56 +01:00
ariasuni 898bae3813 chore: clean global lint attributes and remove clippy::pedantic 2026-03-08 03:20:56 +01:00
ariasuni e038643d2e chore: fix a few Clippy warnings 2026-03-08 03:20:56 +01:00
ariasuni 01f370baf5 chore(deps): update crates, Rust version and flake.lock
- Update crates to avoid the CVE error in CI
- Update Rust to be able to update the crate with a CVE
  (Rust 1.90: highest supported by OpenBSD right now)
- Update flake.lock to be able to use Rust 1.90 in the CI
2026-03-08 03:20:56 +01:00
ariasuni 005170fa37 build(deps): palette v0.7.6 -> v0.7.5 (again)
This time, set the version to `=0.7.5` to avoid accidental upgrades.

See commit b1abb0f9aa and previous PR:
https://github.com/eza-community/eza/pull/1207#issuecomment-2475638800
2026-03-08 03:20:56 +01:00
zohnannor 08152f891c fix: color code parsing in theme.yml
allow 1- and 3-digit color codes
2026-02-09 22:46:25 +01:00
Reza Mousavi 33a6626dcb fix(icons): fix yaml icon 2026-01-30 22:44:44 +01:00
IwantHappiness 0b543ca29a feat(icons): add csv icon 2026-01-30 03:17:14 +01:00
Christina Sørensen b2eb0d8daf feat(options): use version string from file for --version flag
Replaces `clap::crate_version!()` with `include_str!(concat!(env!
("OUT_DIR"), "/version_string.txt"))` for the `--version` flag. This
ensures that the version string, which includes build metadata like Git
hash and build date, is properly displayed when `eza --version` is run,
maintaining feature parity with previous behavior.
2026-01-29 16:06:10 +01:00
fc0ba14922 feat(cli): use Clap instead of manual cli args parsing
Co-authored-by: PThorpe92 <[email protected]>
Co-authored-by: MartinFillon <[email protected]>
Co-authored-by: Terts Diepraam <[email protected]>
2026-01-29 16:06:10 +01:00
Christina Sørensen d6579fcc8d chore: Update CODEOWNERS to remove stale entries
Removes several entries from the .github/CODEOWNERS file that appear
to be stale or no longer relevant. This will help ensure that code
ownership is accurately reflected in the repository.
2026-01-29 12:32:32 +01:00
Sandro-Alessio Gierens 58b98cfa54 test(trycmd): update time in long_time_style_relative_nix.stdout
Signed-off-by: Sandro-Alessio Gierens <[email protected]>
2026-01-04 20:31:08 +01:00
Sandro-Alessio Gierens 3d85aaa51b ci(unit-tests/netbsd): let curl/git installation update dependencies
Signed-off-by: Sandro-Alessio Gierens <[email protected]>
2026-01-04 20:31:08 +01:00
Santhosh Raju 1fdd754f59 ci: Relax warnings for OpenBSD.
Until we can add support for OpenBSD in rustup.
2026-01-04 15:03:54 +01:00
Santhosh Raju d539dda85f ci: Bump FreeBSD version. 2026-01-04 15:03:54 +01:00
Santhosh Raju 1aa4573f9e chore: Upgrade OpenBSD to 7.8 in CI. 2026-01-04 15:03:54 +01:00
dependabot[bot] 31b9a56d70 build(deps): bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2025-12-05 17:59:08 +01:00
Syed Shams Islam 6e6b87bbec chore: Apply reviewer (ariasuni) supplied patch 2025-12-05 17:39:53 +01:00
Syed Shams Islam 939b79dc6e ci(unit-tests/freebsd/netbsd): use rust 1.82 (required by cargo-hack)
Signed-off-by: Syed Shams Islam <[email protected]>
2025-12-05 17:39:53 +01:00
Syed Shams Islam a9498633b5 build(rustc): 1.82 -> 1.83
Signed-off-by: Syed Shams Islam <[email protected]>
2025-12-05 17:39:53 +01:00
Christina Sørensen 12a0cb04a2 fix: update cargo/nix deps
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/dc704e6102e76aad573f63b74c742cd96f8f1e6c' (2025-10-02)
  → 'github:NixOS/nixpkgs/fb5cf53218b987f2703a5bbc292a030c0fe33443' (2025-10-08)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/54df955a695a84cd47d4a43e08e1feaf90b1fd9b' (2025-09-17)
  → 'github:cachix/pre-commit-hooks.nix/cfc9f7bb163ad8542029d303e599c0f7eee09835' (2025-10-03)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/bbc3a8ae797d1700e57a4f4bcc4e79af727d4138' (2025-10-03)
  → 'github:oxalica/rust-overlay/1d0c6173f57d07db7957b50e799240d4f2d7520f' (2025-10-09)

Signed-off-by: Christina Sørensen <[email protected]>
2025-10-28 07:31:07 +01:00
Christina Sørensen 5b7bc61765 chore: eza v0.23.4 changelogs, version bump
Signed-off-by: Christina Sørensen <[email protected]>
v0.23.4
2025-10-03 22:36:55 +02:00
Christina Sørensen 0e47631992 fix: update nixpkgs/cargo dependencies
fetching git input 'git+file:///home/ces/org/src/git/eza'
warning: Git tree '/home/ces/org/src/git/eza' is dirty
fetching github input 'github:rustsec/advisory-db'
fetching github input 'github:numtide/flake-utils'
fetching github input 'github:nix-community/naersk'
fetching github input 'github:NixOS/nixpkgs/nixpkgs-unstable'
fetching github input 'github:eza-community/powertest'
fetching github input 'github:cachix/pre-commit-hooks.nix'
fetching github input 'github:oxalica/rust-overlay'
fetching github input 'github:nix-systems/default'
fetching github input 'github:numtide/treefmt-nix'
warning: updating lock file '/home/ces/org/src/git/eza/flake.lock':
• Updated input 'advisory-db':
    'github:rustsec/advisory-db/c8fa947b3cb681ce18c6a44a42382c45ac13f30e' (2025-09-12)
  → 'github:rustsec/advisory-db/ce9208c0021cd8a6b66ff4b345171e8eedd0441c' (2025-10-03)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/098982b6eca9b809cc2f583e733338f5a36b3ad8' (2025-09-12)
  → 'github:NixOS/nixpkgs/dc704e6102e76aad573f63b74c742cd96f8f1e6c' (2025-10-02)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/b084b2c2b6bc23e83bbfe583b03664eb0b18c411' (2025-09-11)
  → 'github:cachix/pre-commit-hooks.nix/54df955a695a84cd47d4a43e08e1feaf90b1fd9b' (2025-09-17)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/3232f7f8bd07849fc6f4ae77fe695e0abb2eba2c' (2025-09-13)
  → 'github:oxalica/rust-overlay/bbc3a8ae797d1700e57a4f4bcc4e79af727d4138' (2025-10-03)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1aabc6c05ccbcbf4a635fb7a90400e44282f61c4' (2025-08-31)
  → 'github:numtide/treefmt-nix/5eda4ee8121f97b218f7cc73f5172098d458f1d1' (2025-09-24)
fetching git input 'git+file:///home/ces/org/src/git/eza'
warning: Git tree '/home/ces/org/src/git/eza' is dirty

Signed-off-by: Christina Sørensen <[email protected]>
2025-10-03 22:07:49 +02:00
Christina Sørensen 05d20d11c4 chore: eza v0.23.3 changelogs, version bump
Signed-off-by: Christina Sørensen <[email protected]>
v0.23.3
2025-09-14 15:17:21 +02:00
Christina Sørensen 4b5d6a9a44 build(deps): update cargo deps
Updating crates.io index
     Locking 27 packages to latest compatible versions
    Removing android-tzdata v0.1.1
    Updating cc v1.2.35 -> v1.2.37
    Updating chrono v0.4.41 -> v0.4.42
    Updating errno v0.3.13 -> v0.3.14
    Updating find-msvc-tools v0.1.0 -> v0.1.1
    Updating humantime v2.2.0 -> v2.3.0
    Updating iana-time-zone v0.1.63 -> v0.1.64
    Updating indexmap v2.11.0 -> v2.11.1
    Updating js-sys v0.3.77 -> v0.3.78
    Updating linux-raw-sys v0.9.4 -> v0.11.0
    Updating rustix v1.0.8 -> v1.1.2
    Updating tempfile v3.21.0 -> v3.22.0
    Updating unicode-ident v1.0.18 -> v1.0.19
    Updating wasi v0.14.3+wasi-0.2.4 -> v0.14.5+wasi-0.2.4
      Adding wasip2 v1.0.0+wasi-0.2.4
    Updating wasm-bindgen v0.2.100 -> v0.2.101
    Updating wasm-bindgen-backend v0.2.100 -> v0.2.101
    Updating wasm-bindgen-macro v0.2.100 -> v0.2.101
    Updating wasm-bindgen-macro-support v0.2.100 -> v0.2.101
    Updating wasm-bindgen-shared v0.2.100 -> v0.2.101
    Updating web-sys v0.3.77 -> v0.3.78
    Updating winapi-util v0.1.10 -> v0.1.11
    Updating windows-core v0.61.2 -> v0.62.0
      Adding windows-link v0.2.0
    Updating windows-result v0.3.4 -> v0.4.0
    Updating windows-strings v0.4.2 -> v0.5.0
      Adding windows-sys v0.61.0
    Updating wit-bindgen v0.45.0 -> v0.45.1 (latest: v0.46.0)

Signed-off-by: Christina Sørensen <[email protected]>
2025-09-13 12:29:50 +02:00
Christina Sørensen 335e4ec727 feat: update flake inputs
• Updated input 'advisory-db':
    'github:rustsec/advisory-db/20a8af2bdc91ffaa99fed197adf0e40c0e8c5edd' (2025-09-02)
  → 'github:rustsec/advisory-db/c8fa947b3cb681ce18c6a44a42382c45ac13f30e' (2025-09-12)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/aaff8c16d7fc04991cac6245bee1baa31f72b1e1' (2025-09-02)
  → 'github:NixOS/nixpkgs/098982b6eca9b809cc2f583e733338f5a36b3ad8' (2025-09-12)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e891a93b193fcaf2fc8012d890dc7f0befe86ec2' (2025-08-23)
  → 'github:cachix/pre-commit-hooks.nix/b084b2c2b6bc23e83bbfe583b03664eb0b18c411' (2025-09-11)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/c2e69d21d6a1c83de3326c975d484c4c79893896' (2025-09-04)
  → 'github:oxalica/rust-overlay/3232f7f8bd07849fc6f4ae77fe695e0abb2eba2c' (2025-09-13)

Signed-off-by: Christina Sørensen <[email protected]>
2025-09-13 12:29:50 +02:00
Aksu 79f044d600 docs(man): corrected "user_executable_file" option
Signed-off-by: Aksu <[email protected]>
2025-09-06 17:19:44 +02:00
GiantFrog 96a4c82ab3 chore(snap): update snapcraft manifest for core24 2025-09-06 15:08:49 +02:00
Christina Sørensen 810135fc90 chore: eza v0.23.2 changelogs, version bump
Signed-off-by: Christina Sørensen <[email protected]>
v0.23.2
2025-09-06 11:23:21 +02:00