Fix TMUX failing to recognize /bin/zsh as a valid shell on macOS

This commit is contained in:
2024-10-13 19:43:28 +01:00
parent 4183ab9d34
commit 2f3f11b664

View File

@@ -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 '%%'"