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
cfd745d6f0
refactor: relicense to EUPL-1.2
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-09-26 09:24:39 +02:00
Justin Su
124cb344e6
feat: add opml file extension
...
Signed-off-by: Justin Su <injustsu@gmail.com>
2024-09-24 16:41:23 +02:00
PThorpe92
bbc6b76f1d
fix: remove non_alpha from percent encoding to fix hyprlinks
2024-09-13 18:08:56 +02:00
MartinFillon
8ba74c5796
feat(deps): pass from serde_yaml to serde_norway
2024-09-12 19:45:43 +02:00
XhstormR
5957488638
fix: convert empty space to %20 when render hyperlinks
2024-09-07 22:39:38 -04:00
Sandro-Alessio Gierens
71062a7f19
style(config): simplify from_str_radix calls to please clippy
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-09-04 13:54:45 +02:00
Sandro-Alessio Gierens
2704e0a849
style(config): apply rustfmt
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-09-04 13:54:45 +02:00
Sandro-Alessio Gierens
0acb5f903c
fix(config): add serde(default) to StyleOverride.foreground/background fields
...
This is necessary with `deserialize_with`, otherwise serde expects this
field to be there and fails otherwise.
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-09-04 13:54:45 +02:00
Sandro-Alessio Gierens
ae9f5ddc95
test(config): add unit tests for color_from_str function
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-09-04 13:54:45 +02:00
Sandro-Alessio Gierens
6dae536c9e
feat(config): outsource color_from_str function to make it testable
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-09-04 13:54:45 +02:00
Sandro-Alessio Gierens
df03808fff
fix(config): fix typo in FromOverride<FileKinds> impl
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-09-04 13:54:45 +02:00
Sandro-Alessio Gierens
8179857ab4
feat(config): add custom deserialize_color and use in StyleOverride
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-09-04 13:54:45 +02:00
Sandro-Alessio Gierens
528047b9d4
feat(config): add shorthand aliases to StyleOverride variables
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-09-04 13:54:45 +02:00
Preston Thorpe
313e602cde
refactor: formatting for rustfmt macro
...
Co-authored-by: Christina Sørensen <christina@cafkafk.com>
Signed-off-by: Preston Thorpe <preston@unlockedlabs.org>
2024-09-01 14:51:51 +02:00
PThorpe92
c34458d1a3
fix: selectively filter files when recursing #1101
2024-09-01 14:51:51 +02:00
Sandro-Alessio Gierens
17982a89ab
style(output): fix clippy issue in FileName.paint
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-30 15:49:30 +02:00
Sandro-Alessio Gierens
1636bd6193
refactor(config): make every setting optional with override layer
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-30 15:49:30 +02:00
Sandro-Alessio Gierens
5ff6693b55
feat: rename UiStyles.icon_override to icons and add Style field
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-30 15:49:30 +02:00
Sandro-Alessio Gierens
80aa4702ef
feat(output): handle icon overrides in FileName.paint
...
This basically ports the PR #914 and thus also resolves #909
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-30 15:49:30 +02:00
Sandro-Alessio Gierens
b16d9bbdd9
feat(theme): implement FileNameColours.icon_override for Theme
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-30 15:49:30 +02:00
Sandro-Alessio Gierens
ddfddb16fb
feat(output): add icon_override function to FileNameColours trait
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-30 15:49:30 +02:00
Sandro-Alessio Gierens
b7ea0b1e2f
feat(theme): add IconOverrides struct and UiStyles.icon_overrides
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-30 15:49:30 +02:00
PThorpe92
50e698b359
fix: pr reviews fixes for theme file
2024-08-30 15:49:30 +02:00
Sandro-Alessio Gierens
d3a4a1be6e
fix(theme): revise UiStyles::plain to have no style at all
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-30 15:49:30 +02:00
PThorpe92
ed8db671ec
fix: clippy issues
2024-08-30 15:49:30 +02:00
PThorpe92
be0c2d1ba1
fix: rustfmt issues
2024-08-30 15:49:30 +02:00
PThorpe92
c484244b4b
fix: imports and merge conflicts
2024-08-30 15:49:30 +02:00
PThorpe92
071205fc7c
fix: adjust grid details for CI tests
2024-08-30 15:49:30 +02:00
PThorpe92
8715840d3a
feat: theme file configuration base
2024-08-30 15:49:30 +02:00
PThorpe92
0b34b758b3
feat: allow writing default theme.yml file for eventual config file implementation
2024-08-30 15:49:30 +02:00
PThorpe92
52f9cc1c70
feat: begin implementation of config file
2024-08-30 15:49:30 +02:00
Oleksiy Slyshyk
a7cc5a6f8e
build(deps): bump windows-sys from 0.52.0 to 0.59.0
2024-08-29 19:11:43 +02:00
Sandro-Alessio Gierens
c612262294
refactor(output): simplify icon style setting in FileName.paint
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-29 17:58:15 +02:00
Sandro-Alessio Gierens
28d7cf0b56
fix(theme): remove unnecessary map and make clippy happy
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-29 17:58:15 +02:00
Sandro-Alessio Gierens
7790788609
feat(output): adjust FileName.paint to consider possible icon color
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-29 17:58:15 +02:00
Sandro-Alessio Gierens
cb8173a0b7
feat(theme): implement FileNameColours.icon for Theme
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-29 17:58:15 +02:00
Sandro-Alessio Gierens
569d7750ec
feat(output): add icon function to FileNameColours trait
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-29 17:58:15 +02:00
Sandro-Alessio Gierens
8eb39c4f8c
feat(theme): add None as icon value in UiStyles.default_theme
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-29 17:58:15 +02:00
Sandro-Alessio Gierens
b3997ba1fe
feat(theme): add ic key for UiStyles icon in set_exa
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-29 17:58:15 +02:00
Sandro-Alessio Gierens
983e9cba7e
feat(theme): add icon field to UiStyles
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2024-08-29 17:58:15 +02:00
ilobilo
f223e10c6f
feat: add c++ module interfaces as source file types
...
Signed-off-by: ilobilo <68286835+ilobilo@users.noreply.github.com>
2024-08-29 17:36:24 +02:00
Uzhanin Egor
cab72ad2d4
fix: typo
2024-08-28 12:42:07 +02:00
Santhosh Raju
8b7c1b1b25
fix: FreeBSD build.
...
Address warnings from clippy.
2024-08-10 10:12:36 +02:00
LeoniePhiline
97a8abe06e
fix!: implement EZA_GRID_ROWS grid details view minimum rows threshold
...
Grid details view had been prevented only by console width being
unavailable.
This changeset implements `EZA_GRID_ROWS` as secondary grid details
inhibitor, preventing grid details view if the minimum rows threshold is
not reached by grid which would be rendered.
Fix:
https://github.com/eza-community/eza/issues/66#issuecomment-2198567463
Fix : #1044
BREAKING CHANGE: Before this change, the `EZA_GRID_ROWS` variable was
ignored, despite documentation existing. Users relying on `EZA_GRID_ROW`
not doing anything will find their output changed. For more info, see
2024-08-07 09:33:40 +02:00
Natalya McKay
f7eda73c23
fix: use NaiveDateTime::from_timestamp_opt instead of panicky From impl
...
Fixes #667
2024-07-17 13:42:24 +02:00
PThorpe92
99b2fc214e
feat: add --no-|show-symlinks flags for filtering output
2024-06-24 06:49:02 +02:00
lpnh
f9fb7f8cda
feat(icons): add icon for Nushell extension
2024-06-04 17:25:51 -04:00
GH
e8e0b6da03
fix: change windows-only imports to be windows-only
...
Apparently this line is required for the Windows build, but leads to warnings on systems that build the eza port with a port of rust 1.77.2, which at this time seems to be limited to the BSDs.
Signed-off-by: Volker Schlecht <47375452+VlkrS@users.noreply.github.com>
2024-05-16 16:21:10 +02:00