From 40fd28a9f7231d09fe2abffaa0a702277289b9b9 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Sun, 13 Oct 2024 19:43:28 +0100 Subject: [PATCH] Fix TMUX failing to recognize /bin/zsh as a valid shell on macOS --- nix/home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/home.nix b/nix/home.nix index 45e8132e..b9d70ffa 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -533,7 +533,7 @@ in plugins = with pkgs; [ tmuxPlugins.cpu ]; prefix = "C-s"; terminal = "tmux-256color"; - shell = if isLinux then "${pkgs.zsh}/bin/zsh" else "/bin/zsh"; + shell = if isLinux then "${pkgs.zsh}/bin/zsh" else "/Users/${userName}/.nix-profile/bin/zsh"; extraConfig = '' bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'"