lsd-rs / lsd-rs/lsd

Names not aligned when using nerd font glyphs and Unicode emojis cusomization file

Open
#1,054 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
16.2k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

  • os: linux mint mate 21.3
  • lsd --version: 1.1.2
  • echo $TERM: xterm-256color
  • echo $LS_COLORS:

Expected behavior

Names to be aligned when using nerd fort glyphs and unicorn emojis

Actual behavior

Miss-aligned

Noticed If I use the customization file option provided in my icon/yaml the names are no longer aligned. I appears to be an extra space between the icon and name on the unicode icons.

Not the end of the world but would be great to know if there is a solution for this specific issue.

Alignment
.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the alignment problem on Linux Mint MATE with lsd 1.1.2, using the reported Nerd Font glyphs, Unicode emojis, and the icon/yaml customization option. Trace the icon and name-width handling from the CLI configuration entry point; done means names remain aligned for both icon types without the reported extra spacing.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.