tmux: use fish directly on nixos, zsh on macos
This commit is contained in:
parent
52ab8df3e7
commit
44e592e9af
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ let
|
|||
|
||||
cfg = config.snowhawk.tmux;
|
||||
sessionizer = cfg.sessionizer;
|
||||
macos = config.snowhawk.macos.enable;
|
||||
in
|
||||
{
|
||||
options.snowhawk.tmux = {
|
||||
|
@ -14,7 +15,7 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
shell = getExe pkgs.zsh;
|
||||
shell = getExe (if macos then pkgs.zsh else pkgs.fish);
|
||||
mouse = true;
|
||||
baseIndex = 1;
|
||||
terminal = "screen-256color";
|
||||
|
|
Loading…
Reference in a new issue