old
1{...}: {
2 programs.zellij = {
3 enable = true;
4 settings = {
5 show_startup_tips = false;
6 show_release_notes = false;
7 default_shell = "fish";
8 };
9 };
10
11 # auto start zellij in nushell
12 # programs.nushell.extraConfig = ''
13 # # auto start zellij
14 # # except when in VSCode or zellij itself
15 # if (not ("ZELLIJ" in $env)) and (not ($env.TERM_PROGRAM? == "vscode")) {
16 # if "ZELLIJ_AUTO_ATTACH" in $env and $env.ZELLIJ_AUTO_ATTACH == "true" {
17 # ^zellij attach -c
18 # } else {
19 # ^zellij
20 # }
21
22 # # Auto exit the shell session when zellij exit
23 # $env.ZELLIJ_AUTO_EXIT = "false" # disable auto exit
24 # if "ZELLIJ_AUTO_EXIT" in $env and $env.ZELLIJ_AUTO_EXIT == "true" {
25 # exit
26 # }
27 # }
28 # '';
29}