Skip to content

Move file icons, LS_COLORS related code from grid / table to a dedicated command #17290

@blindFS

Description

@blindFS

Basics

  • I have done a basic search through the issue tracker to find similar or related issues.
  • I have made myself familiar with the available features of Nushell for the particular area this enhancement request touches.

Related problem

For file path rendering ls | grid --icons --color/ ls | table --icons, grid/table have special handling for "file path like" inputs.

I feel it really odd to implement it in current way.

The flag --icons is simply meaningless for most of the cases.

Describe the solution you'd like

#17248 (comment)

Describe alternatives you've considered

A icon metadata protocol for general icon rendering.

Additional context and details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions