Install To Platform-Standard Locations | Reduce Home Directory Clutter
Nobody has claimed this yet.
- #489 by @taep96 — closed without merging
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by locating where espup currently places files directly in $HOME and how export-esp.sh is handled. Review the directories crate's platform-location behavior and the proposed fallback order. Done means installation uses the standard location, with the requested optional symlink and extensionless script behavior addressed.
Written by the indexing model from the issue text.
Description
Motivations
Files are currently placed directly in $HOME, which creates clutter. Using standard platform directories would improve system integration.
- Would you like to implement this feature? — Not sure.
Solution
-
Use
directoriescrate with the following fallback order:$XDG_DATA_HOME/espup$HOME/.local/share/espup$HOME/.espup
-
Add flag to optionally symlink export-esp.sh from
$HOMEto$XDG_DATA_HOME/espup/export-esp.sh -
Create an extension-less version of the script with a shebang and export to
$PATH- the$HOMEsymlink could point to this instead
Alternatives
- Add an environment variable to customize the location —
$ESP_HOME
Additional context
The directories crate provides cross-platform support for standard directory locations.
- Dominant language
- Rust
- Stars
- 460
- Forks
- 37
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 6
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing 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.
More from esp-rs/espup
-
RUSTSEC-2026-0346: `Debug` impls for client session values expose TLS secretsPossibly taken @SergioGasquez claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
RUSTSEC-2026-0349: Unauthenticated ServerHello can downgrade later connections to classical key exchangePossibly taken @SergioGasquez claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 15/100
-
RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authenticationPossibly taken @SergioGasquez claimed this 1 day ago. Open
Difficulty 2/5 Under an hour Newbie friendliness 25/100
-
RUSTSEC-2026-0347: Buffered application data sent to outer server after ECH rejectionPossibly taken @SergioGasquez claimed this 1 day ago. Open
Difficulty 2/5 Under an hour Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
area: compat area: parsing bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
reubeno/brush#1526 · 1 comment ·
Maintainers usually reply within 1 day
-
OFN writer emits `DocIRI` as a bare IRI, which becomes a version IRI or a parse error on re-readOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
phillord/horned-owl#338 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stackabletech/operator-rs#1301 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jmcnamara/rust_xlsxwriter#205 · 4 comments ·