Inherit CONFIG_NAME properly

This commit is contained in:
Manuel Thalmann 2024-11-03 23:41:32 +01:00
parent 5be51976cc
commit 1a412dfc0e

View file

@ -33,7 +33,7 @@ function runSetupUserAction -V dir
set -l cmdline (cat /proc/$fish_pid/cmdline | string split0) set -l cmdline (cat /proc/$fish_pid/cmdline | string split0)
if [ -z "$TMUX" ] if [ -z "$TMUX" ]
tmux new-session $cmdline tmux new-session -e "CONFIG_NAME=$CONFIG_NAME" $cmdline
else else
source "$dir/settings.fish" source "$dir/settings.fish"
set -l sudoConfig "/etc/sudoers.d/PortValhalla" set -l sudoConfig "/etc/sudoers.d/PortValhalla"