Zellij less integrated

- don't always start (with USEZELLIJ only)
- don't kill terminal on exit
This commit is contained in:
Leonora Tindall 2025-07-03 09:54:07 -05:00
parent bcf7d87eaa
commit 84c1f532d0
2 changed files with 3 additions and 2 deletions

View File

@ -62,7 +62,7 @@ function set_win_title(){
precmd_functions+=(set_win_title)
# start zellij
if [ "$TERM_PROGRAM" != "vscode" ]; then
if [[ -v "$WITHZELLIJ" && "$TERM_PROGRAM" != "vscode" ]]; then
eval "$(zellij setup --generate-auto-start zsh)"
fi

View File

@ -1,11 +1,12 @@
{ config, pkgs, ... }:
{
home.sessionVariables = {
ZELLIJ_AUTO_EXIT = "true";
ZELLIJ_AUTO_EXIT = "false";
};
programs.zellij= {
enable = true;
enableZshIntegration = false;
settings = {
copy_command = "${pkgs.xclip}/bin/xclip -selection clipboard";
};