Commit graph

3092 commits

Author SHA1 Message Date
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
Ricardo Fabila
feda3299fd chore: add fox installation option
Signed-off-by: Ricardo Fabila <ricardo@fabilareyes.com>
2024-10-09 09:03:07 +02:00
dependabot[bot]
c4cfdc7ea6 build(deps): bump once_cell from 1.20.1 to 1.20.2
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.20.1 to 1.20.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.1...v1.20.2)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-09 09:01:58 +02:00
Erwin van Eijk
425aea779a fix: bring help text in line with available flags
The help text and the available flags had become out of sync, which also
distorts the completion in bash.

Fixes #400 - bug: Test and fix all bash completions
2024-10-05 16:57:41 +02:00
Christopher Plewright
9859548ef7 fix(theme): colors in old ms command prompt
Signed-off-by: Christopher Plewright <chris@createng.com>
2024-10-04 09:17:07 +02:00
Christina Sørensen
74fed8cefc chore: eza v0.20.1 changelogs, version bump
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-10-03 08:12:56 +02:00
Erwin van Eijk
c86edc5443 fix: rustfmt errors 2024-10-03 07:43:40 +02:00
Erwin van Eijk
0529538f14 fix: move options into flags
This fixes a clippy warning.
2024-10-03 07:43:40 +02:00
Erwin van Eijk
e978b3efe9 feat: show directories last
For example, it will be quite useful to use this feature alongside --tree
as then when printing a deeply nested directory structure, all the files
within each directory will be listed first and then the remaining deeply
nested directory subtree within it will be printed, giving the users a
far better understanding of which files are within each folder.
2024-10-03 07:43:40 +02:00
Christopher Hicks
13554fa522 docs(man): document that exit 13 == permission denied 2024-10-03 07:08:20 +02:00
dependabot[bot]
c067990ba6 build(deps): bump once_cell from 1.19.0 to 1.20.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.19.0 to 1.20.1.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.1)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 04:54:02 +02:00
Christina Sørensen
2d1c96643f build(flake): fix manual version
Ref: https://github.com/NixOS/nixpkgs/pull/345185/files
Co-authored-by: Stephen Huan <stephen.huan@cgdct.moe>
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-29 05:22:49 +02:00
Stephen Huan
41ac88b81c docs(man): update file type colors 2024-09-29 05:22:49 +02:00
Stephen Huan
b586dce0c3 docs(man): fix cross-references 2024-09-29 05:22:49 +02:00
Ihar Hrachyshka
1ab432d618 feat: add autocomplete for --follow-symlinks 2024-09-29 05:22:28 +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
Ihar Hrachyshka
da5d198910 feat: Add --follow-symlinks option
The option enables drilling down into symbolic links that point to
directories.
2024-09-29 05:22:28 +02:00
Ihar Hrachyshka
5de69aed72 feat: recursively walk symlinks pointing at dirs
Before:

```
/tmp/test-recursive-dir-symlinks
├── dir
│  └── test.txt
└── symlinkdir -> /tmp/test-recursive-dir-symlinks/dir
```

After:

```
/tmp/test-recursive-dir-symlinks
├── dir
│  └── test.txt
└── symlinkdir -> /tmp/test-recursive-dir-symlinks/dir
   └── test.txt
```

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2024-09-29 05:22:28 +02:00
Meili C
957362d8c8 feat(icons): update just, add more formats
Fix default justfile name, it is defined as 'Justfile' but 'just --init' creates the default file name as 'justfile' with a lower case 'j' - Also added the VHS file format for charmbracelets terminal recording ascii file format. Added .xci and .nsp extensions for switch games, .z64 for n64 games, .gba for gameboy games and added .swf for the sound font file format.
2024-09-29 04:52:04 +02:00
Christina Sørensen
e7882ceb42 ci: remove flakehub, flakestry publish
No one uses (or should use) either of these really, we're probably one
of the most interesting programs on that site anyways, let's not give
free legitimacy to something like that.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-28 12:48:23 +02:00
Ihar Hrachyshka
d1702f0db1 fix: Support passing multiple options for generate-trycmd-test.sh 2024-09-28 10:25:29 +02:00
Christina Sørensen
9681cb65b3 fix: release recipe
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-28 07:47:57 +02:00
Christina Sørensen
a3b0c8b40e chore: eza v0.20.0 changelogs, version bump
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 10:25:03 +02:00
Christina Sørensen
5a1ce0ba28
feat!: relicensed to EUPL-1.2
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 10:12:01 +02:00
dependabot[bot]
1045ad99c8 build(deps): bump unicode-width from 0.1.13 to 0.2.0
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.13 to 0.2.0.
- [Commits](https://github.com/unicode-rs/unicode-width/commits)

---
updated-dependencies:
- dependency-name: unicode-width
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-26 10:04:06 +02:00
dependabot[bot]
a8a620f6a7 build(deps): bump libc from 0.2.158 to 0.2.159
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.158 to 0.2.159.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.159/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.158...0.2.159)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-26 09:44:13 +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
MartinFillon
7edce99d81 docs: adding a testing infos file to guide everyone through tests 2024-09-26 09:43:50 +02:00
MartinFillon
7e155d4150 feat: add a regen rule 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
Christina Sørensen
b7bbfc6906 ci: unblock windows
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
fa477fa550 ci: allow EUPL-1.2
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
f6745f9790 build: use toolchain in devShell
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
472de3b54b build: add clippy to devShell
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
befd9be419 build: add cargo to devShell
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
cfd745d6f0 refactor: relicense to EUPL-1.2
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
c833c3c711 refactor: release scripts use .config
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
c516152220 refactor: move some files to .config
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
5a430eebf9 style: remove blank line
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
b008929ae3 build(deps): removed unused flake follows
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
357f1e7408 build(deps): bump flake lock 2024-09-26
• Updated input 'pre-commit-hooks/flake-compat':
    'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17)
  → 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Updated input 'pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/a20de23b925fd8264fd7fad6454652e142fd7f73' (2022-08-14)
  → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394' (2024-02-28)
• Updated input 'pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/babc25a577c3310cce57c72d5bed70f4c3c3843a' (2024-09-23)
  → 'github:NixOS/nixpkgs/194846768975b7ad2c4988bdb82572c00222c0d7' (2024-07-07)

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
cb15b12984 style: switch to nixfmt rfc style, format tree
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
27232c4f9b build(deps): remove semnix deps
• Updated input 'flake-utils':
    'github:semnix/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
• Updated input 'naersk':
    'github:semnix/naersk/aeb58d5e8faead8980a807c840232697982d47b9' (2023-10-27)
  → 'github:nix-community/naersk/3fb418eaf352498f6b6c30592e3beb63df42ef11' (2024-07-23)
• Updated input 'pre-commit-hooks':
    'github:semnix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25)
  → 'github:cachix/pre-commit-hooks.nix/4e743a6920eab45e8ba0fbe49dc459f1423a4b74' (2024-09-19)
• Removed input 'pre-commit-hooks/flake-utils'
• Updated input 'pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/c37ca420157f4abc31e26f436c1145f8951ff373' (2023-06-03)
  → 'github:NixOS/nixpkgs/babc25a577c3310cce57c72d5bed70f4c3c3843a' (2024-09-23)
• Updated input 'rust-overlay':
    'github:semnix/rust-overlay/2cfb76b8e836a26efecd9f853bea78355a11c58a' (2023-12-09)
  → 'github:oxalica/rust-overlay/a3d832f389606d7dc61a45b244c72ea472d1fcd4' (2024-09-26)
• Removed input 'rust-overlay/flake-utils'
• Updated input 'treefmt-nix':
    'github:semnix/treefmt-nix/e8cea581dd2b7c9998c1e6662db2c1dc30e7fdb0' (2023-12-07)
  → 'github:numtide/treefmt-nix/1bff2ba6ec22bc90e9ad3f7e94cca0d37870afa3' (2024-09-25)

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
2f93e93f67 build(deps): ensure flake inputs aren't duplicated'
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Christina Sørensen
7849b15e6a ci: full nix3 command output in logs
In #1146, I was made aware that we don't run the nix3 related CI command
with full logs displayed.

This adds the `-L` flag to those command invocations to address that.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-25 05:33:43 +02:00
lunrenyi
0a27861263 docs(install): add x-cmd method to install eza
docs(install): add x-cmd method to install eza

Signed-off-by: lunrenyi <87307989+lunrenyi@users.noreply.github.com>
2024-09-24 21:42:06 +02:00
Christina Sørensen
2b616805b6 build(flake): darwin devShell resuse eza deps
Co-authored-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-24 21:35:06 +02:00