From eba01a006799df8362106a9bf32ac0b50815d090 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 7 Apr 2021 17:15:03 +0000 Subject: [PATCH] home: zsh: enable VTE integration when appropriate --- home/zsh/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/zsh/default.nix b/home/zsh/default.nix index b7b9e8e..4657c4e 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -65,6 +65,12 @@ in # Sometime `gpg-agent` errors out... reset-agent = "gpg-connect-agent updatestartuptty /bye"; }; + + # Enable VTE integration when using one of the affected shells + enableVteIntegration = + builtins.any (name: config.my.home.terminal.program == name) [ + "termite" + ]; }; # Fuzzy-wuzzy