From a9e4deab243f4566fe1f7af0e6f9f8ef8a2b2c48 Mon Sep 17 00:00:00 2001 From: Alan Faubert Date: Tue, 14 Dec 2021 17:02:48 -0500 Subject: [PATCH] vscode: include interop fix in ~/.vscode-server/server-env-setup --- vscode/wsl_server_config/server-env-setup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vscode/wsl_server_config/server-env-setup b/vscode/wsl_server_config/server-env-setup index a2c42ef..90aeb46 100644 --- a/vscode/wsl_server_config/server-env-setup +++ b/vscode/wsl_server_config/server-env-setup @@ -1 +1,6 @@ +for pid in $(pstree --numeric-sort --show-parents --show-pids $$ | grep --extended-regexp --only-matching '[0-9]+'); do + if [ -S /run/WSL/${pid}_interop ]; then + WSL_INTEROP=/run/WSL/${pid}_interop + fi +done . ~/.profile