Make ":/" expand to "~/.config/retroarch/" instead of "/usr/bin/"
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
:/ expands to the directory where the RetroArch executable is located. On Windows this is convenient since retroarch.exe, saves/, screenshots/, etc. are typically all in the same directory, so you can just specify :/saves for the save file directory or :/screenshots for the screenshots directory. On Linux, however, :/ typically expands to /usr/bin/ since that's where the executable is placed by the package manager, which makes the shortcut pretty much useless. It should instead expand to the directory where retroarch.cfg is located, which is ~/.config/retroarch by default.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin by locating the :/ path-expansion entry point and the code that determines the retroarch.cfg directory; the issue names no files or tests. Verify on Linux that :/ resolves to ~/.config/retroarch/ by default while preserving the described Windows behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100