mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
termite: setup the shell hook
This fixes Ctrl+Shift+T not working.
This commit is contained in:
parent
6ab6488e5a
commit
67ebe16b40
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue