zdharma-continuum / zinit

🌻 Flexible and fast ZSH plugin manager
MIT License
2.74k stars 122 forks source link

fix: set home dir to test env in gh-r tests #582

Closed vladdoster closed 9 months ago

vladdoster commented 9 months ago

Description

Handles programs that create a config dir on first invocation and cluttered users $HOME dir.

Screenshot 2023-09-23 at 12 24 47 AM

Motivation and Context

Annoyed

How Has This Been Tested?

Types of changes

Checklist:

alichtman commented 9 months ago

How does this work when the programs go to access $HOME/their_config?

The way I typically fix this issue is by adding XDG support to the program itself.

(Cheers to working on this though. I hate when programs dump things in $HOME.)

pschmitt commented 9 months ago

This is just for CI testing @alichtman

vladdoster commented 9 months ago

@pschmitt,

It also applies when running gh-r.zunit tests locally.

github-actions[bot] commented 7 months ago

:tada: This PR is included in version 3.12.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: