nushell/crates/nu-command/src
Darren Schroeder e8c20390e0
fix ls_colors coloring in grid and ls (#13935)
# Description

After PR https://github.com/nushell/nushell/pull/12953, LS_COLORS
coloring broke in the `grid` and `ls` commands because the full path to
the files were not available. This PR restores the coloring.


# User-Facing Changes
<!-- List of all changes that impact the user experience here. This
helps us keep track of breaking changes. -->

# Tests + Formatting
<!--
Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used` to
check that you're using the standard code style
- `cargo test --workspace` to check that all tests pass (on Windows make
sure to [enable developer
mode](https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging))
- `cargo run -- -c "use toolkit.nu; toolkit test stdlib"` to run the
tests for the standard library

> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
-->

# After Submitting
<!-- If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
-->
2024-09-25 18:16:54 -05:00
..
bytes Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
charting doc: fix broken doc links (#13644) 2024-08-23 21:17:44 +02:00
conversions Add search terms to into value (#13890) 2024-09-23 07:55:58 -05:00
database Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
date Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
debug fix inspect and explore panics on empty records (#13893) 2024-09-25 07:48:16 -05:00
env Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
experimental Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
filesystem Set current working directory at startup (#12953) 2024-09-25 13:04:26 -05:00
filters Fix try not working with let, etc. (#13885) 2024-09-23 06:44:25 -05:00
formats Make IR the default evaluator (#13718) 2024-09-15 14:54:38 -07:00
generators Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
hash add binary as input to hash commands (#13923) 2024-09-25 16:47:52 +08:00
help allow tab to be retained with find (#13848) 2024-09-14 08:51:00 -05:00
math Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
misc Changed category for panic and added search terms and examples (#13707) 2024-08-27 16:58:05 -07:00
network Refining error handling in http post (#13805) 2024-09-07 23:57:34 +02:00
path fix path exists on a non-directory file (#13763) 2024-09-11 12:45:39 -05:00
platform Respect $env.config.use_kitty_protocol in input listen (#13892) 2024-09-25 08:57:00 -05:00
random Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
removed Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
shells Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
stor Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
strings Add --number flag to split column (#13831) 2024-09-12 07:16:33 -05:00
system fix ls_colors coloring in grid and ls (#13935) 2024-09-25 18:16:54 -05:00
viewers fix ls_colors coloring in grid and ls (#13935) 2024-09-25 18:16:54 -05:00
default_context.rs add metadata access command (#13785) 2024-09-11 12:44:06 -05:00
example_test.rs Overhaul $in expressions (#13357) 2024-07-17 16:02:42 -05:00
lib.rs Add top-level crate documentation/READMEs (#12907) 2024-07-14 10:10:41 +02:00
progress_bar.rs Replace ExternalStream with new ByteStream type (#12774) 2024-05-16 07:11:18 -07:00
sort_utils.rs Add derive macros for FromValue and IntoValue to ease the use of Values in Rust code (#13031) 2024-06-17 16:05:11 -07:00