From d2ab6aabf6cf8c5db00c4080740ac2dddcfb16ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 6 Nov 2024 07:38:35 +0100 Subject: [PATCH] only start tmux if SSH_TTY is set --- programs/shell/tmux/home-manager.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/shell/tmux/home-manager.nix b/programs/shell/tmux/home-manager.nix index 4567925a..a91de468 100644 --- a/programs/shell/tmux/home-manager.nix +++ b/programs/shell/tmux/home-manager.nix @@ -36,6 +36,7 @@ programs.fish.shellInit = '' if status is-interactive and not set -q TMUX + and not set -q SSH_TTY tmux attach || tmux end '';