file path to source has hardcoded $HOME
Open
Beginner friendly
- 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
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