From fa5b1b27524b0105f9bdb1dc29e6a221fce50e3d Mon Sep 17 00:00:00 2001 From: Sacabambaspis <102341238+DataEraserC@users.noreply.github.com> Date: Sun, 3 Mar 2024 00:25:04 +0800 Subject: [PATCH] Fix boolean expectation error and update conditional checks. --- home/base/desktop/zellij/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/base/desktop/zellij/default.nix b/home/base/desktop/zellij/default.nix index b6e13ba6..57478851 100644 --- a/home/base/desktop/zellij/default.nix +++ b/home/base/desktop/zellij/default.nix @@ -10,7 +10,7 @@ in { programs.nushell.extraConfig = '' # auto start zellij # except when in emacs or zellij itself - if (not "ZELLIJ" in $env) and (not "INSIDE_EMACS" in $env) { + if (not ("ZELLIJ" in $env)) and (not ("INSIDE_EMACS" in $env)) { if "ZELLIJ_AUTO_ATTACH" in $env and $env.ZELLIJ_AUTO_ATTACH == "true" { ^zellij attach -c } else {