Canop / Canop/broot

file path to source has hardcoded $HOME

Open Beginner friendly
#447 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12.9k
Forks
314
Avg merge
1d 6h
Merged PRs (30d)
6

Description

By default, broot adds the following line to my rc file:

`source /Users/me/.config/broot/launcher/bash/br`

That works on my Mac, but on my Linux box my homedir is (obviously) different. How about instead making it:

`source $HOME/.config/broot/launcher/bash/br`

Contributor guide

Open the contributing guide

Research direction

Inspect the broot code that generates the default shell rc-file line containing the hardcoded /Users/me/.config/broot/launcher/bash/br path. Check how the launcher path is selected for different platforms, then verify that the generated source line uses the user's home-directory variable and still works on macOS and Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.