From 65ee668387f1c76e392d74b510f949b2c6bff874 Mon Sep 17 00:00:00 2001 From: janbar Date: Fri, 11 Oct 2024 20:33:41 +0800 Subject: [PATCH] fix(fish terminal): reuse temporary directories (#368) fix https://github.com/version-fox/vfox/issues/364 --- internal/shell/fish.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/shell/fish.go b/internal/shell/fish.go index af2269b1..cce5cf0a 100644 --- a/internal/shell/fish.go +++ b/internal/shell/fish.go @@ -32,7 +32,7 @@ var Fish Shell = fish{} const fishHook = ` {{.EnvContent}} -set __VFOX_PID %self; +set -x -g __VFOX_PID %self; function __vfox_export_eval --on-event fish_prompt; "{{.SelfPath}}" env -s fish | source;