Fix TMUX failing to recognize /bin/zsh as a valid shell on macOS
This commit is contained in:
@@ -533,7 +533,7 @@ in
|
|||||||
plugins = with pkgs; [ tmuxPlugins.cpu ];
|
plugins = with pkgs; [ tmuxPlugins.cpu ];
|
||||||
prefix = "C-s";
|
prefix = "C-s";
|
||||||
terminal = "tmux-256color";
|
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 = ''
|
extraConfig = ''
|
||||||
bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'"
|
bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'"
|
||||||
|
|||||||
Reference in New Issue
Block a user