mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-16 21:21:04 +01:00
fix: do not start zellij inside emacs(vterm)
This commit is contained in:
1 parent
e42fda1d43
commit
40be9f8a55
1 file changed
+2
-1
@@ -9,7 +9,8 @@ in {
|
||||
# auto start zellij in nushell
|
||||
programs.nushell.extraConfig = ''
|
||||
# auto start zellij
|
||||
if not "ZELLIJ" in $env {
|
||||
# except when in emacs or zellij itself
|
||||
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 {
|
||||
|
||||
Reference in new issue
Block a user