adding zellij
This commit is contained in:
parent
6bc92a0a46
commit
3d33a5051d
|
@ -1035,6 +1035,22 @@ end
|
||||||
$env.config = {
|
$env.config = {
|
||||||
show_banner: false
|
show_banner: false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def start_zellij [] {
|
||||||
|
if 'ZELLIJ' not-in ($env | columns) {
|
||||||
|
if 'ZELLIJ_AUTO_ATTACH' in ($env | columns) and $env.ZELLIJ_AUTO_ATTACH == 'true' {
|
||||||
|
zellij attach -c
|
||||||
|
} else {
|
||||||
|
zellij
|
||||||
|
}
|
||||||
|
|
||||||
|
if 'ZELLIJ_AUTO_EXIT' in ($env | columns) and $env.ZELLIJ_AUTO_EXIT == 'true' {
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
start_zellij
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
environmentVariables = {
|
environmentVariables = {
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
smartmontools
|
smartmontools
|
||||||
git
|
git
|
||||||
tmux
|
tmux
|
||||||
|
zellij
|
||||||
dutree
|
dutree
|
||||||
cachix
|
cachix
|
||||||
unzip
|
unzip
|
||||||
|
|
Loading…
Reference in a new issue