From 44e592e9afe4ec389f4800fbf5bdee7d40876b74 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Tue, 20 Aug 2024 17:33:18 -0700 Subject: [PATCH] tmux: use fish directly on nixos, zsh on macos --- home/modules/tmux.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/modules/tmux.nix b/home/modules/tmux.nix index a3efaa5..cc5ace4 100644 --- a/home/modules/tmux.nix +++ b/home/modules/tmux.nix @@ -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";