diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index c653fa9e..e72de639 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 + tmux attach-session -t main && exit else exec tmux new-session -t main end