lsd-rs / lsd-rs/lsd

seperator not rendering between unicode icon and executable filename

Open
#923 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

- os: MacOS Sonoma 14.0, current as of time of this post
- lsd --version: 1.0.0, installed 10 mins ago via Homebrew
- echo $TERM: xterm-256color
- echo $LS_COLORS: none -- empty return value (see pic, below)

![image](https://github.com/lsd-rs/lsd/assets/5898931/c98c3220-2acd-4e1c-b1ec-77403956af0b)

## Expected behavior
Consistent use of `" "` separator between icons and file/directory name, in both short & long output.

## Actual behavior

image

image

## Relevant section from `~/.config/lsd/config.yaml`

```yaml
# == Icons ==
icons:
# When to use icons.
# When "classic" is set, this is set to "never".
# Possible values: always, auto, never
when: auto
# Which icon theme to use.
# Possible values: fancy, unicode
#theme: fancy
# TODO: "fancy" appears to not work with my Mac; nerd font installed, so figure out why
theme: unicode
# Separator between icon and the name
# Default to 1 space
separator: " "
```
Note: only change made here is switch from `theme: fancy` to `theme: unicode`

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 issue on macOS with the provided unicode icon configuration and compare short and long output. No source file or test is named, so trace the icon rendering and separator handling first; done means both output modes consistently show the configured space between the icon and filename.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.