Fix broken tmux default shell

I don't understand the issue, I thought tmux would inspect env $SHELL.
Looks like it doesn't and use sh instead.
So we configure to use zsh instead.
This commit is contained in:
Daniel Siepmann 2022-02-08 17:46:08 +01:00
parent ce41d98ba3
commit b758d564ed
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 4 additions and 1 deletions

View file

@ -80,6 +80,7 @@
inherit config;
};
tmux = import ./home/programs/tmux.nix {
inherit pkgs;
};
zsh = import ./home/programs/zsh.nix {
inherit config;

View file

@ -1,4 +1,4 @@
{ }:
{ pkgs }:
{
enable = true;
@ -16,6 +16,8 @@
# Also see https://github.com/neovim/neovim/wiki/FAQ#colors-arent-displayed-correctly
terminal = "tmux-256color";
shell = "${pkgs.zsh}/bin/zsh";
sensibleOnTop = false;
extraConfig = builtins.readFile ../files/tmux;