adding zellij
This commit is contained in:
parent
6bc92a0a46
commit
3d33a5051d
|
@ -1035,6 +1035,22 @@ end
|
|||
$env.config = {
|
||||
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 = {
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
smartmontools
|
||||
git
|
||||
tmux
|
||||
zellij
|
||||
dutree
|
||||
cachix
|
||||
unzip
|
||||
|
|
Loading…
Reference in a new issue