lsd-rs / lsd

The next gen ls command
Apache License 2.0
13.29k stars 431 forks source link

fix: padding of extra spaces when using '--size=bytes' #1030

Open zzhaolei opened 5 months ago

zzhaolei commented 5 months ago

Before:

image

After:

image

Edit: Add more image

View Images Before: image After: image

TODO

muniu-bot[bot] commented 5 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: zzhaolei 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.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/lsd-rs/lsd/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
zzhaolei commented 5 months ago

@zwpaper Please review this