mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-18 05:58:17 +01:00
fix: zellij's auto start in nushell
This commit is contained in:
1 parent
0ceb810133
commit
148da9eecf
1 file changed
+2
-2
@@ -11,9 +11,9 @@ in {
|
||||
# auto start zellij
|
||||
if not "ZELLIJ" in $env {
|
||||
if "ZELLIJ_AUTO_ATTACH" in $env and $env.ZELLIJ_AUTO_ATTACH == "true" {
|
||||
zellij attach -c
|
||||
^zellij attach -c
|
||||
} else {
|
||||
zellij
|
||||
^zellij
|
||||
}
|
||||
|
||||
# auto exit the shell session when zellij exit
|
||||
|
||||
Reference in new issue
Block a user