mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02:00
fix: zellij's auto start in nushell
This commit is contained in:
@@ -11,9 +11,9 @@ in {
|
|||||||
# auto start zellij
|
# auto start zellij
|
||||||
if not "ZELLIJ" in $env {
|
if not "ZELLIJ" in $env {
|
||||||
if "ZELLIJ_AUTO_ATTACH" in $env and $env.ZELLIJ_AUTO_ATTACH == "true" {
|
if "ZELLIJ_AUTO_ATTACH" in $env and $env.ZELLIJ_AUTO_ATTACH == "true" {
|
||||||
zellij attach -c
|
^zellij attach -c
|
||||||
} else {
|
} else {
|
||||||
zellij
|
^zellij
|
||||||
}
|
}
|
||||||
|
|
||||||
# auto exit the shell session when zellij exit
|
# auto exit the shell session when zellij exit
|
||||||
|
|||||||
Reference in New Issue
Block a user