From 597fa1ee1f93b619e745262f47870e9806809bb9 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"