Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vhs record unsets $HOME #554

Open
gleachkr opened this issue Dec 6, 2024 · 1 comment
Open

vhs record unsets $HOME #554

gleachkr opened this issue Dec 6, 2024 · 1 comment

Comments

@gleachkr
Copy link

gleachkr commented Dec 6, 2024

Describe the bug

When I run vhs record, the shell I enter does not have $HOME set. I would expect it to preserve my $HOME.

Setup
Please complete the following information along with version numbers, if applicable.

  • OS: Arch Linux
  • Shell: Bash
  • Terminal Emulator: foot

To Reproduce
Steps to reproduce the behavior:

  1. echo $HOME
  2. vhs record
  3. echo $HOME
  4. See that the variable is empty

Expected behavior

I'd expect $HOME to be the same both times I print it.

@ldemailly
Copy link

ldemailly commented Dec 10, 2024

same/similar issue, on macOS (brew install vhs)

10:05:21 main day10$ vhs record > vhs.tape
10:05:24 main day10$ go run . < 2024-10-input.txt
build cache is required, but could not be located: GOCACHE is not defined and $HOME is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants