We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dde08b commit b461e7bCopy full SHA for b461e7b
record.go
@@ -70,7 +70,7 @@ var EscapeSequences = map[string]string{
70
func Record(_ *cobra.Command, _ []string) error {
71
command := exec.Command(shell)
72
73
- command.Env = append(command.Env, "VHS_RECORD=true")
+ command.Env = append(os.Environ(), "VHS_RECORD=true")
74
75
terminal, err := pty.Start(command)
76
if err != nil {
0 commit comments