Christina Sørensen
eff19c3eea
chore: release 0.14.0
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-02 13:08:01 +02:00
Christina Sørensen
6e9d53f320
Merge pull request #438 from hehelego/main
...
fix: query stdout terminal size to see if the output gose to a tty.
2023-10-02 13:04:38 +02:00
Christina Sørensen
ae6eb5a9d7
Merge pull request #451 from MartinFillon/add-git-repo-colors
...
feat(colors): adding the possibility to change git-repos colors
2023-10-02 11:52:13 +02:00
Martin Fillon
fedef4a55d
docs(eza_colors): updated man to add new colors
2023-10-02 11:20:28 +02:00
MartinFillon
2dc01d351a
Merge branch 'main' into add-git-repo-colors
2023-10-02 10:39:51 +02:00
Martin Fillon
17ed77a3ab
feat(colors): adding the possibility to change git-repos colors
2023-10-02 10:34:36 +02:00
Christina Sørensen
2909853b08
Merge pull request #437 from Hulxv/custom-time-style
...
feat: supporting custom time-style
2023-10-02 10:27:54 +02:00
Christina Sørensen
a891c2439b
Merge pull request #431 from MartinFillon/add-more-color-options
...
feat(colors): separated root from other users
2023-10-02 08:22:25 +02:00
MartinFillon
8d6289de10
refactor(formatting): reformatted a line
2023-10-01 21:06:37 +02:00
MartinFillon
21764dd2bb
Merge branch 'main' into add-more-color-options
2023-10-01 21:05:47 +02:00
hehelego
2d58129fb2
docs(README): change color to colo[u]r in the option description.
...
`eza` manpage and `README` have been refering to this option as `--colo[u]r`. We should follow the tradition and keep the writing style consistent.
Co-authored-by: MartinFillon <114775771+MartinFillon@users.noreply.github.com>
Signed-off-by: hehelego <hahalegao@gmail.com>
2023-10-01 10:39:06 -05:00
Christina Sørensen
d082626703
Merge pull request #432 from MartinFillon/create-statically-linked-binaries
...
feat(binaries): added statically linked binaries
2023-10-01 07:47:39 +02:00
Christina Sørensen
0b4a879a98
build(binaries): name static binaries
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-01 07:23:09 +02:00
Christina Sørensen
6758795302
build(binaries): temporarily disable aarch64-unknown-linux-gnu
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-01 06:54:33 +02:00
MartinFillon
e3457858e9
refactor(colors): renamed and reintended some code
2023-10-01 01:18:51 +02:00
MartinFillon
8094cb5b43
Merge remote-tracking branch 'upstream/main' into add-more-color-options
2023-10-01 01:16:06 +02:00
Christina Sørensen
522d20c8d2
Merge pull request #395 from Brijeshkrishna/main
...
feat : Adding new icons
2023-09-30 18:40:44 +02:00
brijesh
4b7d110d51
fix: README is sorted and formatted
2023-09-30 14:46:28 +05:30
Christina Sørensen
b8b6ec6c2a
fix(clippy): fix large_enum_variant warning with explanation
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-30 10:43:15 +02:00
hehelego
c28e5b72d4
fix: prefix unused binding name with underscore
2023-09-29 12:00:35 -05:00
hehelego
9d834fb3ca
fix(output): terminal size query should only check stdout
...
Another API misuse. `terminal_size::terminal_size()` now looks into `stdout`, `stderr` and `stdin` to determine the terminal size with best effort.
This is desirable for TUI applications, but not for CLI applications.
`eza` only cares about the size of the terminal which is connected to standard output.
We change this to `terminal_size_with_fd(stdout.as_raw_fd)` on unix, and `terminal_size_with_handle(STD_OUTPUT_HANDLE)` on windows.
2023-09-29 11:56:53 -05:00
Brijesh Krishna
76daed1cc0
feat: Added fdmdownload icon
2023-09-29 10:53:23 +00:00
Brijesh Krishna
f1643051b3
fix: New R lang icon
2023-09-29 10:50:08 +00:00
Brijesh Krishna
65ecbbe66a
feat: Added home icon
2023-09-29 10:50:08 +00:00
Brijesh Krishna
527542355b
fix: Changed readme and Added README icon
2023-09-29 10:50:08 +00:00
Brijesh Krishna
10c7e9a813
fix: Changed dll icon
2023-09-29 10:23:28 +00:00
Brijesh Krishna
3494a72127
feat: Added Contacts,Favorites icons
2023-09-29 10:18:13 +00:00
Brijesh Krishna
7370b332da
feat: Added lib icon
2023-09-29 10:18:13 +00:00
Brijesh Krishna
30598543c5
feat: Added bdf,psf icons
2023-09-29 10:18:13 +00:00
Brijesh Krishna
8d4aa2fe3b
feat: New Rust icon
2023-09-29 10:00:06 +00:00
hehelego
c7aaecc2f0
fix: use std::io::IsTerminal to eliminate compatibility issue
...
Previsouly we tried to use `terminal_size_using_fd` on unix, and `terminal_size_using_handle` on windows to detect if stdout is connected to a terminal.
This can be done by using `std::io::IsTerminal` on `std::io::stdout`, eliminating the need of conditional compiling.
2023-09-29 00:19:09 -05:00
MartinFillon
03ba014280
Merge branch 'main' into create-statically-linked-binaries
2023-09-29 01:04:17 +02:00
hehelego
cf45b3e4b0
docs: description of --color in README, manpage, and completions
2023-09-28 14:49:13 -05:00
Hulxv
45178e2f7f
docs(rs): time-format supporting custom formats
2023-09-28 17:53:14 +03:00
Hulxv
dc09d46240
style: format some parts correctly
2023-09-28 17:43:49 +03:00
Christina Sørensen
afe832b943
Merge pull request #439 from MartinFillon/add-termux-documentation
...
docs(installation): adding termux section
2023-09-28 12:16:32 +02:00
Martin Fillon
2659d48f27
docs(installation): adding termux section
...
as eza is now on termux we needed to add it to documentation
2023-09-28 11:25:06 +02:00
Martin Fillon
413d0c7191
docs(man_eza_colors): added the new colors option to the man
2023-09-28 11:13:31 +02:00
MartinFillon
98f052f9e8
Merge branch 'main' into add-more-color-options
2023-09-28 11:07:40 +02:00
Christina Sørensen
a7a9926b53
Merge pull request #435 from gierens/manpage-version
...
Dynamic Manpage Version
2023-09-28 06:49:53 +02:00
Christina Sørensen
064e61489a
fix(flake): fix manpage generation of default package
...
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-28 06:21:39 +02:00
hehelego
ddd6850083
fix(cargo): add windows-sys dependency for targeting windows
...
We use functions in this crate to get stdout handler for
terminal size query.
2023-09-27 21:48:21 -05:00
hehelego
439e24470a
fix: use windows-specific API for terminal size query on windows
...
The previous commit 427f9759d0 uses
`terminal_size::terminal_size_using_fd` and `io::stdout().as_raw_fd()`
which are only available on unix platform, creating compatibility issue
for windows.
In this commit, I leverage rust conditional compilation and
`terminal_size::terminal_size_using_handle` to implement the same
functionality for windows platform.
2023-09-27 21:29:10 -05:00
Hulxv
1ebe70a93b
docs: documenting custom time-style
2023-09-28 04:44:24 +03:00
Hulxv
e4a8040f1c
feat: supporting custom time-style
2023-09-28 04:44:10 +03:00
hehelego
427f9759d0
fix: query stdout terminal size to see if the output gose to a tty.
...
`terminal_size::terminal_size()` is used to determine if stdout is
connected to a real tty/pty. In previous version of `terminal-size`,
this method only queries the terminal size for `stdout`.
However, it is changed in the following commit
08f0e73926
Now the method will use `stdout, stdin, stderr`, trying its best to
determine the terminal size. This cannot be used to determine if `eza`
output is piped or redirected.
We should use `terminal_size_using_fd` on `stdout.as_raw_fd` instead.
Resolves #434 Fixes #433
2023-09-27 20:24:11 -05:00
Sandro-Alessio Gierens
c496bae077
feat(just): revise man rule to use for loop and insert version
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2023-09-27 23:55:47 +02:00
Sandro-Alessio Gierens
f49c983012
feat(man): add header to colors-explanation page
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2023-09-27 23:52:55 +02:00
Sandro-Alessio Gierens
d73daed717
feat(man): replace hardcoded version by version variable
...
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2023-09-27 23:52:52 +02:00
MartinFillon
30ab689fbe
feat(binaries): added statically linked binaries
2023-09-27 18:12:39 +02:00