Commit graph

27 commits

Author SHA1 Message Date
Christina Sørensen
a64a9dafbc feat(icons): refresh icon set with new glyphs and additions
Some checks failed
Unit tests / security_audit (push) Has been cancelled
Unit tests / check_if_pr (push) Has been cancelled
Unit tests / Check Nix Flake (push) Has been cancelled
Unit tests / Build Nix package (push) Has been cancelled
Unit tests / no-merge-commits (push) Has been cancelled
Unit tests / Conventional Commits (push) Has been cancelled
Unit tests / unit-tests (macos-latest, beta) (push) Has been cancelled
Unit tests / unit-tests (macos-latest, msrv) (push) Has been cancelled
Unit tests / unit-tests (macos-latest, nightly) (push) Has been cancelled
Unit tests / unit-tests (macos-latest, stable) (push) Has been cancelled
Unit tests / unit-tests (ubuntu-latest, beta) (push) Has been cancelled
Unit tests / unit-tests (ubuntu-latest, msrv) (push) Has been cancelled
Unit tests / unit-tests (ubuntu-latest, nightly) (push) Has been cancelled
Unit tests / unit-tests (ubuntu-latest, stable) (push) Has been cancelled
Unit tests / unit-tests (windows-latest, beta) (push) Has been cancelled
Unit tests / unit-tests (windows-latest, msrv) (push) Has been cancelled
Unit tests / unit-tests (windows-latest, nightly) (push) Has been cancelled
Unit tests / unit-tests (windows-latest, stable) (push) Has been cancelled
Unit tests / unit-tests-freebsd (beta) (push) Has been cancelled
Unit tests / unit-tests-freebsd (msrv) (push) Has been cancelled
Unit tests / unit-tests-freebsd (nightly) (push) Has been cancelled
Unit tests / unit-tests-freebsd (stable) (push) Has been cancelled
Unit tests / unit-tests-openbsd (push) Has been cancelled
Unit tests / unit-tests-netbsd (beta) (push) Has been cancelled
Unit tests / unit-tests-netbsd (msrv) (push) Has been cancelled
Unit tests / unit-tests-netbsd (nightly) (push) Has been cancelled
Unit tests / unit-tests-netbsd (stable) (push) Has been cancelled
Updated glyphs for:
- CONFIG ( -> 󱁻)
- GIT ( -> 󰊢)
- Default file icon ( -> 󰡯)

Added new icons and mappings:
- FOLDER_BUILD (󱧼) for `build` directory
- TCL (󰛓) for `.tbc`, `.tcl` extensions
- XORG () for Xorg config files
- Documents directory (󰲂)
- src directory (󰣞)
- opam extension (󰘧)

Removed `tape` extension icon.

Co-authored-by: brijesh <brijeshkrishnaga@gmail.com>
2025-07-06 10:47:55 +02:00
Christina Sørensen
7f081337bd feat!: define -d/--treat-dirs-as-files behavior, tests
Some checks are pending
Unit tests / security_audit (push) Waiting to run
Unit tests / check_if_pr (push) Waiting to run
Unit tests / no-merge-commits (push) Blocked by required conditions
Unit tests / Conventional Commits (push) Blocked by required conditions
Unit tests / unit-tests (macos-latest, beta) (push) Blocked by required conditions
Unit tests / unit-tests (macos-latest, msrv) (push) Blocked by required conditions
Unit tests / unit-tests (macos-latest, nightly) (push) Blocked by required conditions
Unit tests / unit-tests (macos-latest, stable) (push) Blocked by required conditions
Unit tests / unit-tests (ubuntu-latest, beta) (push) Blocked by required conditions
Unit tests / unit-tests (ubuntu-latest, msrv) (push) Blocked by required conditions
Unit tests / unit-tests (ubuntu-latest, nightly) (push) Blocked by required conditions
Unit tests / unit-tests (ubuntu-latest, stable) (push) Blocked by required conditions
Unit tests / unit-tests (windows-latest, beta) (push) Blocked by required conditions
Unit tests / unit-tests (windows-latest, msrv) (push) Blocked by required conditions
Unit tests / unit-tests (windows-latest, nightly) (push) Blocked by required conditions
Unit tests / unit-tests (windows-latest, stable) (push) Blocked by required conditions
Unit tests / unit-tests-freebsd (beta) (push) Blocked by required conditions
Unit tests / unit-tests-freebsd (msrv) (push) Blocked by required conditions
Unit tests / unit-tests-freebsd (nightly) (push) Blocked by required conditions
Unit tests / unit-tests-freebsd (stable) (push) Blocked by required conditions
Unit tests / unit-tests-netbsd (beta) (push) Blocked by required conditions
Unit tests / unit-tests-netbsd (msrv) (push) Blocked by required conditions
Unit tests / unit-tests-netbsd (nightly) (push) Blocked by required conditions
Unit tests / unit-tests-netbsd (stable) (push) Blocked by required conditions
Unit tests / unit-tests-openbsd (push) Blocked by required conditions
Unit tests / Check Nix Flake (push) Blocked by required conditions
Unit tests / Build Nix package (push) Blocked by required conditions
BREAKING CHANGE: The behavior of the `-d` flag has been refined to be more
consistent with `ls`. Its long flag has been changed to `--treat-dirs-as-files`
for clarity, while `--list-dirs` is retained as a backward-compatible alias to be
removed in a future release.

Based on the preious commit by cysabi, this commit addresses
inconsistencies and ambiguities related to the `-d` flag and its
long-flag variants.

The behavior of `-d` has been aligned more closely with `ls`, where it
lists directories as regular files rather than listing contents of
directories. The new, more descriptive long flag `--treat-dirs-as-files`
clarifies this intent.

A backward-compatible alias `--list-dirs` is provided to ease the
transition for existing users, with the intention of deprecating it
later.

Since cysabi's fix included addresing `eza -TL 1` not correctly
rendering the tree depth, this also includes tests to ensure that
behavior doesn't regress in the future... again.

Specifically, `powertest` integration tests have been added for `eza
-TL<value>` for levels 0 through 5, ensuring the correct tree structure
output at specified depths. This also includes tests for the updated
`-d`/`--treat-dirs-as-files` behavior.

It is also noted that for users who primarily intend to list only directories,
the `--only-dirs` (`-D`) option might be a more suitable and explicit alternative
to `--treat-dirs-as-files`. This has been added to the man page as well
as a more verbose description of the flag.

Completions have also been fixed.
2025-06-30 19:34:33 +02:00
Christina Sørensen
500cd4faa8 ci: update to PRESENT DAY, PRESENT TIME
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-12-18 18:50:22 +01:00
Christina Sørensen
4d022c6e74 test: regen for 1.74
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-12-05 20:19:33 +01:00
Lee, Jun Seok
2aa5191eec docs: Fix typo --get-repos-no-status to --git-repos-no-status 2024-10-29 14:31:34 +01:00
Benoit de Chezelles
e53a04317e chore: Update generated test files 2024-10-18 16:39:09 +02:00
Christina Sørensen
9d2e27439e test: regenerate tests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:43:50 +02:00
Christina Sørensen
308bd1aeb0 fix: pre-commit-hook taplo bug
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
1a928697b7 fix: flake trycmd bug
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
7b297b5806 test: regenerate integration tests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Tamino Bauknecht
33a85e41c8 test: Add integration tests and powertests for --absolute flag
Note that the absolute paths in tests/cmd/ need to have their root at
[CWD] and not /build/source/ for "cargo test" work.
The command "just idump" will overwrite the files in tests/cmd/ leading
to a failing "cargo test".
2024-03-04 07:12:23 +01:00
Christina Sørensen
0647d04783 test: regenerate classification related tests 2024-01-28 09:37:19 +01:00
Guillermo Perez
367ff558a6 feat(flags)!: add --classify=always,auto,never
BREAKING CHANGE:
--classify now accepts WHEN (always,auto,never). When none specified defaults to "auto" instead of previous "always" behavior
2024-01-28 09:37:19 +01:00
Christina Sørensen
cbaaa1273e fix(tests): remove version testing
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-01-25 14:56:09 +01:00
MartinFillon
8f5121ca2d test: updated tests to fit new features 2024-01-06 11:14:07 +01:00
Christina Sørensen
cd4038726c test: regenerate version tests... and others
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-12-21 06:28:31 +01:00
SPQV MF
2bedc823c3 test: update powertest expected help message output 2023-12-12 09:41:23 +01:00
Christina Sørensen
b19d61f0e5 test(powertests): regenerate
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-12-12 08:59:31 +01:00
Christina Sørensen
150ae83cba test: regen powertests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-12-09 15:25:21 +01:00
Christina Sørensen
81d2f9ce81 test(power): fix powertests post-release
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-30 12:46:23 +01:00
Christina Sørensen
fce16adee0 test(powertest): fix version tests
I suppose these should be regenerated as part of the release process... I'll do
that eventually...

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-26 06:56:51 +01:00
Christina Sørensen
88b9ddced9 test: regenerate --help tests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-22 16:42:10 +01:00
Christina Sørensen
6997414f50 test: long view options
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 14:41:07 +01:00
Christina Sørensen
7616ad5903 test: filtering and sorting
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 14:41:07 +01:00
Christina Sørensen
9c55a616c2 test: display and meta options
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 14:41:07 +01:00
Christina Sørensen
6ea8ff4715 test(powertests): add hashed versions of powertests
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-16 10:06:51 +01:00
Christina Sørensen
4f949fc9bb test(powertest): powertests using generated testdirs
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-13 17:41:03 +01:00