mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
gnome-terminal: enable VTE OSC7 support for bash and zsh
This commit is contained in:
parent
16946a6f00
commit
b3d73e0aff
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,11 @@ let
|
|||
|
||||
cfg = config.programs.gnome-terminal;
|
||||
|
||||
vteInitStr = ''
|
||||
# gnome-terminal: Show current directory in the terminal window title.
|
||||
. ${pkgs.gnome3.vte}/etc/profile.d/vte.sh
|
||||
'';
|
||||
|
||||
profileColorsSubModule = types.submodule (
|
||||
{ ... }: {
|
||||
options = {
|
||||
|
@ -165,5 +170,8 @@ in
|
|||
// mapAttrs' (n: v:
|
||||
nameValuePair ("${dconfPath}/profiles:/:${n}") (buildProfileSet v)
|
||||
) cfg.profile;
|
||||
|
||||
programs.bash.initExtra = mkBefore vteInitStr;
|
||||
programs.zsh.initExtra = vteInitStr;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue