termite: setup the shell hook

This fixes Ctrl+Shift+T not working.

(cherry picked from commit 67ebe16b40)
This commit is contained in:
zimbatm 2018-11-20 19:48:16 +01:00 committed by Robert Helgesson
parent ffdbefe22c
commit 2297450ec8
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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;
}
);
}