From 729812a62445476ecf638ff03dc9b428bab0ce7e Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Sun, 13 Oct 2024 19:12:23 +0100 Subject: [PATCH] Attempt to fix zsh tmux issues on macOS --- nix/home.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/home.nix b/nix/home.nix index a72b8892..d5e243de 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 = "${pkgs.zsh}/bin/zsh"; + shell = "${pkgs.zsh}/bin/zsh"; extraConfig = '' bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'" @@ -568,6 +568,7 @@ in set -g @cpu_high_fg_color "#[fg=#FF0000]" set -g @ram_high_fg_color "#[fg=#FF0000]" run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux + set-option -g default-command "reattach-to-user-namespace -l zsh" ''; };