lsd icon indicating copy to clipboard operation
lsd copied to clipboard

Enhancement #857 - Implemented -p flag

Open Alex-1611 opened this issue 1 year ago • 1 comments

I have added -p (--slash-indicator, didn't know how to name it) flag from the windows ls command, which appends / to the end of directories name.

I have used the indicator flag's code to implement it and also added tests. I modified the render function to only work on directories and to not work while the display_indicators flag is also true. I also added the flag to the config file text, and set the default to false.

Let me know if there's anything wrong, or that should be changed.

Alex-1611 avatar Nov 10 '24 15:11 Alex-1611

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

muniu-bot[bot] avatar Nov 10 '24 15:11 muniu-bot[bot]