diff --git a/dotfiles/z_profile b/dotfiles/z_profile index 0c5cc39..89473b0 100644 --- a/dotfiles/z_profile +++ b/dotfiles/z_profile @@ -23,3 +23,8 @@ export DOTNET_ROOT XDG_CONFIG_HOME="{{@@ env['HOME'] @@}}/.config" export XDG_CONFIG_HOME {%@@ endif @@%} + +{%@@ if profile == 'AINCRAD-wsl' or profile == 'AINCRAD' or profile == 'YOETUNHEIMR-wsl' or profile == 'yoetunheimr' @@%} +# Run VPN-Kit alpine VM to route traffic through Windows and if connected through VPNs +wsl.exe -d wsl-vpnkit service wsl-vpnkit start +{%@@ endif @@%}