From 1a1e87c3e23c4349b6f0eac0873bf1a1d9263528 Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 30 Apr 2024 13:41:19 +0900 Subject: [PATCH] Updates --- home-manager/common/software/cli/fish.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index 7d2f7678..b2e00d75 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -4,14 +4,14 @@ programs.fish = { enable = true; - shellInit = '' + interactiveShellInit = '' set EDITOR vim ssh-add > /dev/null &> /dev/null if set -q TMUX else if set -q DISABLE_TMUX else - tmux new-session -A main + tmux attach || exec tmux new-session && exit end end '';