mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-17 23:14:07 +01:00
fix: zellij's auto start in nushell
This commit is contained in:
@@ -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