mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +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:
commit
18496735da
3 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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",
|
||||
|
|
2
tests/fixtures/dircolors/internal.expected
vendored
2
tests/fixtures/dircolors/internal.expected
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue