diff options
| author | Ellie Huxtable <ellie@atuin.sh> | 2026-02-03 11:51:59 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-03 11:51:59 -0800 |
| commit | 0f13940c13f28255941bcba240d1cc4c538dc108 (patch) | |
| tree | f9011f1b76530200c21549b724df3b3ebe4ad08d /.github | |
| parent | fix: halt sync loop if server returns an empty page (#3122) (diff) | |
| download | atuin-0f13940c13f28255941bcba240d1cc4c538dc108.zip | |
fix: use directories crate for home dir resolution (#3125)
Previously, home_dir() read $HOME directly and panicked if it wasn't
set. This could happen in environments like `nix develop -i` which strip
the environment.
The directories crate (already a dependency) falls back to getpwuid_r
when $HOME is not set, resolving the home directory from /etc/passwd.
Fixes #3123
<!-- Thank you for making a PR! Bug fixes are always welcome, but if
you're adding a new feature or changing an existing one, we'd really
appreciate if you open an issue, post on the forum, or drop in on
Discord -->
## Checks
- [ ] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [ ] I have checked that there are no existing pull requests for the
same thing
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
