diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index ea3ac4e5..cb3eca9d 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -9,7 +9,7 @@ ssh-add > /dev/null &> /dev/null if not set -q TMUX && not set -q DISABLE_TMUX if tmux has-session -t main - tmux attach-session -t main + exec tmux attach-session -t main exit else exec tmux new-session -t main