Christina Sørensen
7746830180
fix(view)!: make --grid work when not in TTY
...
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
When output is not a TTY (e.g. when piped), fix grid view instead of
outputting oneline view.
BREAKING CHANGE: When using --grid, the output for non-TTY is now the
grid view as well, breaking scripts that may have erroniously used
--grid.
Fixes #1545
2025-07-17 23:11:59 +02:00
Christina Sørensen
a64a9dafbc
feat(icons): refresh icon set with new glyphs and additions
...
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
...
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
Benoit de Chezelles
688308824d
fix(tree-view): Ensure nested tree parts align under item name
...
Before:
```
foo/
├── nested/
│ ├── bar
│ └── other-bar
└── baz
```
Notice how the nested tree is aligned on the blank before the dir name
After:
```
foo/
├── nested/
│ ├── bar
│ └── other-bar
└── baz
```
Now the nested tree is aligned on the dir name, making it much nicer to
look at and more logical.
2024-10-18 16:39:09 +02:00
Patrick Sean Klein
172590380a
fix: do not print parent filename with --absolute=on
...
The parent path of a file was added even with absolute={on,follow}, causing the parent path being prepended to the resolved (absolute) filepath.
Fixes : #1151
2024-10-09 09:23:30 +02:00
Christina Sørensen
92fea94284
test: regenerate tests broken by line number changes
...
Yes, we shouldn't have to do this.
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-29 05:22:28 +02:00
Ihar Hrachyshka
f97a1d6efd
test: Add cases for -T and --follow-symlinks
2024-09-29 05:22:28 +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
Terts Diepraam
0fcc1c78eb
fix: update line numbers in panic messages in tests
2024-03-04 07:23:16 +01:00
Tamino Bauknecht
f0972251e1
test: Add directory symlink to tests/itest/
...
Additionally, the test output was regenerated using "just idump".
Note that manual edits are necessary to ensure the absolute path in
tests/cmd/ starts with "[CWD]".
2024-03-04 07:12:23 +01: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
559187cb90
chore: cleaning dirs
...
This commit is badly made as I fd up when doing it
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-03-03 15:51:57 +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
SPQV MF
131ad8afc1
test: add tests for non-recent/recent custom time style
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
MartinFillon
2273e29bc0
test: Implements tests using the generated directory
...
Picked from #592
2023-11-13 17:41:03 +01:00
Christina Sørensen
d6d02d14e8
feat(powertest): add powertest
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-11-13 17:41:03 +01:00
MartinFillon
66dc7551bf
fix(git)!: remove Repo column when using --git-repos when no git repo
...
Repo column was always showing even tho no repo was here
see eza-community/eza#579 first point
test(nix): changed nix tests on git repos
2023-11-07 11:10:56 +01:00
Mélanie Chauvel
852938138e
fix(symlink): don’t display target’s size if we’re not dereferencing
2023-10-20 18:53:38 +02:00
PThorpe92
37776ec6f3
feat!: remove --no-icons in favor of --icons=always,auto,never. default is auto
2023-10-17 14:45:34 -04:00
PThorpe92
d9489a4741
ci: adjust test case to icons=auto (no icons should show due to tty)
2023-10-16 09:46:40 -04:00
PThorpe92
45857f0cf0
feat: add icons=always,auto,never. dont display icons in a tty|piped
2023-10-16 09:46:32 -04:00
Christina Sørensen
4cd9731c15
test(local): move classify tests to local
...
Here, we introduce the `nix-local` feature, for features meant only
to exist locally in the nix sandbox.
This is an attempt to avoid the CI runner's unit testing, as that fails
to set the grid width correctly.
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-05 14:59:48 +02:00
Christina Sørensen
702246b8d8
test(all): classify-hyperlink test case for width 50
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-05 13:53:48 +02:00
Sandro-Alessio Gierens
f555d42972
refactor: fix rustfmt issues and place skips where needed
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2023-09-23 19:11:19 +02:00
Christina Sørensen
c5b544c5ae
Merge pull request #381 from Hulxv/listing-files-only
...
feat: Listing files only
2023-09-23 18:46:56 +02:00
Christina Sørensen
1211398dba
test(nix): regen git_repos_no_status
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-21 05:24:43 +02:00
Hulxv
b0d44fcd9e
test: test for listing files only
2023-09-19 00:14:38 +03:00
Christina Sørensen
2aa0f8f0dc
test(trycmd): remove non-deterministic test
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-14 19:37:30 +02:00