From 67ebe16b406950651de09448cd5afdb437545be6 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 20 Nov 2018 19:48:16 +0100 Subject: [PATCH] termite: setup the shell hook This fixes Ctrl+Shift+T not working. --- modules/programs/termite.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/programs/termite.nix b/modules/programs/termite.nix index 7e3288bbc..6eab39edb 100644 --- a/modules/programs/termite.nix +++ b/modules/programs/termite.nix @@ -6,6 +6,13 @@ let cfg = config.programs.termite; + vteInitStr = '' + # See https://github.com/thestinger/termite#id1 + if [[ $TERM == xterm-termite ]]; then + . ${pkgs.gnome3.vte-ng}/etc/profile.d/vte.sh + fi + ''; + in { @@ -363,6 +370,9 @@ in ${cfg.hintsExtra} ''; + + programs.bash.initExtra = vteInitStr; + programs.zsh.initExtra = vteInitStr; } ); }