athityakumar / athityakumar/colorls
Icons for file with only one extension
- Dominant language
- Ruby
- Stars
- 5.1k
- Forks
- 396
- PR merge metrics
- No merged PRs in 30d
Description
- Relevant Issues : (none)
- Relevant PRs : (none)
- Type of issue :
- [ ] Installation
- [x] Font-related
- [ ] Feature request
- [ ] Bug in existing feature
- [ ] Developer mode : Code quality / Tests / Documentation
Hello, the colorls in my machine can't recognize file with only one extension such as `.ignore`, `.DS_Store`,`.type_example`, here is an example:

The file `.DS_Store` and `.gitignore` are recognized as `file` type instead of `apple` / `git` type. I changed nothing in `yaml` dir.(I also tried adding `ds_store:"\ue711"`, and it didn't work.)
If I add any latters before dot, it can recognize rightly. For example, I renamed `.gitignore` to `test.gitignore`,it showed as follow:

Other files with name before dot can be recognized correctly. My system is macOS 10.15.7, and I have installed nerd-font.
Thank you for reading.
Contributor guide
Research direction
Reproduce the issue in colorls using files such as .gitignore, .DS_Store, and .type_example, then inspect how filenames with no characters before the dot are classified. The work is done when these names receive their expected git, apple, or configured icons while ordinary extensions continue to be recognized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100