Zellij less integrated
- don't always start (with USEZELLIJ only) - don't kill terminal on exit
This commit is contained in:
parent
bcf7d87eaa
commit
84c1f532d0
|
@ -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
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue