lsd-rs / lsd

The next gen ls command
Apache License 2.0
12.8k stars 413 forks source link

should we hide the user/group block when permission set to attribute in windows #1018

Open Jaehaks opened 3 months ago

Jaehaks commented 3 months ago

Version

version

v1.1.1

What OS are you seeing the problem on?

Windows

installation

scoop install lsd

term

windows terminal : cmd.exe

ls-colors

no

What happened?

if I set permission = rwx in config.yaml, 
It has delay to show result under any other lsd command
like lsd -al, lsd, etc.. except of lsd --version.
Delay is about 3~4s.

What expected?

there are not much delay between permission settings

What else?

No response

Jaehaks commented 3 months ago

Plus, If I set permission = attribute, it works so fast but it dose not show user/group name . It shows just "?" characters

zwpaper commented 3 months ago

Hi @Jaehaks thanks for the report, this is known and as a workaround for the windows users, please check https://github.com/lsd-rs/lsd/pull/911, and https://github.com/lsd-rs/lsd/issues/200

as for the questioned user and group, please use config.yaml to hide the user and group blocks.

but for user ux, maybe we should hide the user/group by default for windows users?

zwpaper commented 3 months ago

let me change the title and we can discuss the hiding user/group, leave the performance to https://github.com/lsd-rs/lsd/issues/378

/retitle should we hide the user/group block when permission set to attribute in windows