From df25a32013c58af0ff08d1cd90b2f103f3ce7365 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Fri, 16 Feb 2024 12:13:29 +0100 Subject: [PATCH] change env variable --- .chezmoitemplates/zshrc_linux.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoitemplates/zshrc_linux.tmpl b/.chezmoitemplates/zshrc_linux.tmpl index 047ec50..c086d60 100644 --- a/.chezmoitemplates/zshrc_linux.tmpl +++ b/.chezmoitemplates/zshrc_linux.tmpl @@ -130,6 +130,6 @@ eval "$(starship init zsh)" test -e "$HOME/.shellfishrc" && source "$HOME/.shellfishrc" -if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [ -n "${WEZTERM_CONFIG_DIR}" ]; then +if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [ -n "${WEZTERM_UNIX_SOCKET}" ]; then exec tmux new-session -A -s ${USER} >/dev/null 2>&1 fi