From 1fbce7156e0a0d0d9695a3d9abcb81938e969117 Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Fri, 9 May 2025 18:29:04 -0500 Subject: [PATCH] Don't open zellij in vscode --- rcfiles/zshrc | 5 +++++ zellij.nix | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rcfiles/zshrc b/rcfiles/zshrc index 8c5851a..e2245c8 100644 --- a/rcfiles/zshrc +++ b/rcfiles/zshrc @@ -61,5 +61,10 @@ function set_win_title(){ precmd_functions+=(set_win_title) +# start zellij +if [ "$TERM_PROGRAM" != "vscode" ]; then + eval "$(zellij setup --generate-auto-start zsh)" +fi + fortune diff --git a/zellij.nix b/zellij.nix index 20c3692..5defe42 100644 --- a/zellij.nix +++ b/zellij.nix @@ -6,7 +6,6 @@ programs.zellij= { enable = true; - enableZshIntegration = true; settings = { copy_command = "${pkgs.xclip}/bin/xclip -selection clipboard"; };