diff --git a/programs/shell/tmux/home-manager.nix b/programs/shell/tmux/home-manager.nix index a91de468..c8be5f65 100644 --- a/programs/shell/tmux/home-manager.nix +++ b/programs/shell/tmux/home-manager.nix @@ -36,7 +36,7 @@ programs.fish.shellInit = '' if status is-interactive and not set -q TMUX - and not set -q SSH_TTY + and set -q SSH_TTY tmux attach || tmux end '';