From c533b66c4eabdf47d8e36ae4fe39c75c959ba957 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 28 Nov 2024 22:11:27 +0100 Subject: [PATCH] Inherit all env variables in the `tmux` session --- scripts/lib/action.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/lib/action.fish b/scripts/lib/action.fish index dc2e3fdb..2557dda6 100644 --- a/scripts/lib/action.fish +++ b/scripts/lib/action.fish @@ -41,7 +41,6 @@ function runSetupUserAction -V dir source "$dir/settings.fish" runActionSetup runActionConfigure - set -l env "CONFIG_NAME=$CONFIG_NAME" set -l name (getOSConfig setupUser.name) if [ "$USER" != "$name" ] @@ -51,7 +50,7 @@ function runSetupUserAction -V dir sudo --set-home --preserve-env env "PATH=$PATH" $cmdline else if [ -z "$TMUX" ] - tmux new-session -e "$env" $cmdline + tmux new-session env (env) $cmdline else set -l sudoConfig "/etc/sudoers.d/PortValhalla"