trucate user / group name before '\'
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
- os: windows 10
- `lsd --version`: v1.1.1
- `echo $TERM`: windows terminal - cmd.exe
- `echo $LS_COLORS`:
Can I truncate user / group name after specific marker?
or example, my username is DESKTOP-619H44D\USER , and it is very long, can I truncate by marekr '\" ?

GNU ls show the user name only USER.
In Current, I can truncate username depending on number of characters
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Rust code that renders user and group names in directory listings, then trace the existing character-count truncation behavior. Implement the requested Windows-specific truncation after the backslash marker and verify that names such as DESKTOP-619H44\\USER display as USER while the current length-based behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100