athityakumar / athityakumar/colorls

Add support for socket/pipe/... in long listing

Open
#490 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Ruby
Stars
5.1k
Forks
396
PR merge metrics
No merged PRs in 30d

Description

### Description

colorls does not display if file is of type socket or pipe, etc.. at least not on macos 11.6 with colorls 1.4.4

```
> sw_vers
ProductName: macOS
ProductVersion: 11.6
BuildVersion: 20G165

> colorls --version
1.4.4

> mkfifo asdf
> ls -l | grep asdf
rw-r--r-- 1 xxxx staff 0 B Fri Dec 10 14:04:30 2021  asdf

> /bin/ls -l | grep asdf
prw-r--r-- 1 xxxx staff 0 10 Dez 14:04 asdf
```

- Type of issue :
- [ ] Installation
- [ ] Font-related
- [X] Feature request
- [ ] Bug in existing feature
- [ ] Developer mode : Code quality / Tests / Documentation

Contributor guide

Open the contributing guide

Research direction

Start from the colorls long-listing behavior shown in the report and inspect how file types are detected and displayed. Compare the output for the mkfifo example with /bin/ls -l on macOS; done means sockets, pipes, and other currently unsupported types are identified in long listings.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.