1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Merge pull request #6923 from sylvestre/more-terms

uucore: add alacritty to the list of terminals that support colors
This commit is contained in:
Sylvestre Ledru 2024-12-04 14:05:00 +01:00 committed by GitHub
commit 18496735da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View file

@ -15,4 +15,4 @@ Run the tests:
cargo test --features "dircolors" --no-default-features
```
Edit `/PATH_TO_COREUTILS/src/uu/dircolors/src/colors.rs` until the tests pass.
Edit `/PATH_TO_COREUTILS/src/uu/dircolors/src/dircolors.rs` until the tests pass.

View file

@ -13,6 +13,7 @@
/// restrict following config to systems with matching environment variables.
pub static TERMS: &[&str] = &[
"Eterm",
"alacritty*",
"ansi",
"*color*",
"con[0-9]*x[0-9]*",
@ -21,6 +22,7 @@ pub static TERMS: &[&str] = &[
"cygwin",
"*direct*",
"dtterm",
"foot",
"gnome",
"hurd",
"jfbterm",

View file

@ -7,6 +7,7 @@
# restrict following config to systems with matching environment variables.
COLORTERM ?*
TERM Eterm
TERM alacritty*
TERM ansi
TERM *color*
TERM con[0-9]*x[0-9]*
@ -15,6 +16,7 @@ TERM console
TERM cygwin
TERM *direct*
TERM dtterm
TERM foot
TERM gnome
TERM hurd
TERM jfbterm