Skip to content

(ls | sort-by name) and other subexpressions lose ls_colors #4501

Closed
@fdncred

Description

@fdncred

Describe the bug

alias ls = (ls | sort-by name)
names are not colored with ls_colors

How to reproduce

see above

Expected behavior

retain ls_colors

Screenshots

No response

Configuration

key value
version 0.59.0
branch main
short_commit b64ac9e
commit_hash b64ac9e
commit_date 2022-02-16 18:24:45 +00:00
build_os windows-x86_64
rust_version rustc 1.58.1 (db9d1b20b 2022-01-20)
rust_channel stable-x86_64-pc-windows-msvc
cargo_version cargo 1.58.0 (f01b232bc 2022-01-19)
pkg_version 0.59.0
build_time 2022-02-16 12:33:29 -06:00
build_rust_channel debug
features dataframe, default, which, zip
installed_plugins gstat, inc, nu-example-1, nu-example-2, nu-example-3, query, query json, query web, query xml

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't workingpipeline-metadataAdditional information passed along that is not directly attached to the values (e.g. LSCOLORS)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions