From 900df7d2504fc4e35f8c9522cf656e3cb592ac75 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 29 Apr 2024 16:12:48 +0900 Subject: [PATCH] UPdates --- home-manager/common/software/cli/fish.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index ceb2411f..c4f8badb 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -9,8 +9,9 @@ set ZELLIJ_AUTO_ATTACH true set ZELLIJ_AUTO_EXIT true ssh-add > /dev/null &> /dev/null - if status is-interactive - eval (zellij setup --generate-auto-start fish | string collect) + if set -q ZELLIJ + else + zellij attach MAIN end ''; functions = {