Closed bryanjhv closed 2 months ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: bryanjhv
Once this PR has been reviewed and has the lgtm label, please assign zwpaper for approval by writing /assign @zwpaper
in a comment. For more information see:The Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
hi @bryanjhv, thanks for the contribution, but the classify is enabled only when you turn it on, this is also how the GNU ls works
the issue is more about adding a flag --indicator-style=none
.
so I am closing this PR for now, and feel free to open one for the --indicator-style=none
flag
Oh, now I see. Seems the most viable option to remain compatible with GNU ls.
The
--classify
flag (indicators
option) is turned on when piped to other commands. This PR fixes that, disablingdisplay_indicators
when output is not a TTY. Fixes #918.TODO
cargo fmt