athityakumar/colorls

Make trailing directory backslash optional

Open

#385 opened on Aug 19, 2020

View on GitHub
 (8 comments) (0 reactions) (0 assignees)Ruby (366 forks)batch import
HacktoberfestUp-For-Grabs

Repository metrics

Stars
 (4,599 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

I'd like trailing directory backslashes to be optional. I've done it manually on my local machine, and IMO it looks cleaner (esp when listing a directory with many subdirectories).

It looks like:

At the moment a space is conjoined to the end of file paths and a slash is conjoined to directory paths. I was thinking a flag could be used to make them uniform, or something similar.

This is strictly speaking a duplicate, since it's been asked for in the cited issue. I'm not fussed about the other elements of that request, though, just the backslashes.

I'd be happy to give it a go if deemed valuable.

  • Relevant Issues : #344
  • Relevant PRs : (none)
  • Type of issue :
    • Installation
    • Font-related
    • Feature request
    • Bug in existing feature
    • Developer mode : Code quality / Tests / Documentation

Contributor guide