Rehash shell after spack install
Open
Nobody has claimed this yet.
feature
- Dominant language
- Python
- Stars
- 5.1k
- Forks
- 2.5k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 82
Description
Summary
perform rehash in shell (e.g. hash -r) after spack install
Rationale
As per #33734, the shell needs rehash to use the newly installed package.
Description
the implementation could be a helper function that allows a package to rehash after installation
Additional information
No response
General information
- I have run
spack --versionand reported the version of Spack - I have searched the issues of this repo and believe this is not a duplicate
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
Start by tracing the spack install command and its shell integration to find where a post-install rehash could be triggered. Review how supported shells handle hash -r, then verify that a newly installed package is available without manual rehashing after the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100