Commit 7308467

HPCesia <me@hpcesia.com>
2025-06-09 12:12:16
feat(app): update zellij config
1 parent 59c59d1
Changed files (1)
home
base
home/base/tui/zellij.nix
@@ -7,7 +7,6 @@ in {
 
   programs.zellij = {
     enable = true;
-    enableBashIntegration = true;
     settings = {
       show_startup_tips = false;
       show_release_notes = false;
@@ -17,8 +16,8 @@ in {
   # auto start zellij in nushell
   programs.nushell.extraConfig = ''
     # auto start zellij
-    # except when in emacs or zellij itself
-    if (not ("ZELLIJ" in $env)) and (not ("INSIDE_EMACS" in $env)) {
+    # except when in VSCode or zellij itself
+    if (not ("ZELLIJ" in $env)) and (not ($env.TERM_PROGRAM? == "vscode")) {
       if "ZELLIJ_AUTO_ATTACH" in $env and $env.ZELLIJ_AUTO_ATTACH == "true" {
         ^zellij attach -c
       } else {