mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-27 11:17:03 +02:00
Fix boolean expectation error and update conditional checks.
This commit is contained in:
@@ -10,7 +10,7 @@ in {
|
|||||||
programs.nushell.extraConfig = ''
|
programs.nushell.extraConfig = ''
|
||||||
# auto start zellij
|
# auto start zellij
|
||||||
# except when in emacs or zellij itself
|
# 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" {
|
if "ZELLIJ_AUTO_ATTACH" in $env and $env.ZELLIJ_AUTO_ATTACH == "true" {
|
||||||
^zellij attach -c
|
^zellij attach -c
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user