cmder icon indicating copy to clipboard operation
cmder copied to clipboard

[Feature request] Add icons to the contents of the result of the `ls` command like "logo-ls"

Open Shaphil opened this issue 1 year ago • 3 comments

Suggestion

logo-ls (https://github.com/Yash-Handa/logo-ls), which seems like an abandoned project, had a cool feature, the results of the command had icons of the corresponding type alongside the files/folders.

Here is an example, ls-l 1

It would be a nice feature to have.

Use case

This would serve as a visual representation of the content (file or folder?); if it is a file, it would visually represent the file type.

Extra info/examples/attachments

  • ls -a ls-a

  • ls -A ls-a

Checklist

  • [X] I have read the documentation and made sure this feature doesn't already exist.
  • [X] I have searched for similar issues and found none that describe my feature request.

Shaphil avatar Aug 15 '24 15:08 Shaphil

ls is a separate program. You would need to find a repo for ls and make a request there.

Have you considered using eza or dirx?

chrisant996 avatar Aug 15 '24 15:08 chrisant996

Thanks for the suggestions, I liked dirx. Maybe I can alias it to ls and then use it.

Shaphil avatar Aug 15 '24 16:08 Shaphil

If you want file icons in completions as well, then the clink-gizmos has a script that can add them. And if you want to use fzf, icons can be added there as well.

chrisant996 avatar Aug 15 '24 16:08 chrisant996

Closing as this can be achieved using external tools and is up to the user.

DRSDavidSoft avatar May 10 '25 16:05 DRSDavidSoft