Fix boolean expectation error and update conditional checks.

This commit is contained in:
Sacabambaspis
2024-03-03 00:25:04 +08:00
committed by GitHub
parent eb75f1fa49
commit fa5b1b2752

View File

@@ -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 {