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)
|
precmd_functions+=(set_win_title)
|
||||||
|
|
||||||
# start zellij
|
# start zellij
|
||||||
if [ "$TERM_PROGRAM" != "vscode" ]; then
|
if [[ -v "$WITHZELLIJ" && "$TERM_PROGRAM" != "vscode" ]]; then
|
||||||
eval "$(zellij setup --generate-auto-start zsh)"
|
eval "$(zellij setup --generate-auto-start zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
ZELLIJ_AUTO_EXIT = "true";
|
ZELLIJ_AUTO_EXIT = "false";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zellij= {
|
programs.zellij= {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableZshIntegration = false;
|
||||||
settings = {
|
settings = {
|
||||||
copy_command = "${pkgs.xclip}/bin/xclip -selection clipboard";
|
copy_command = "${pkgs.xclip}/bin/xclip -selection clipboard";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue