From e329e7a59a90250bcd7529e00bfc3bdcc5bf9e11 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