tmux: use fish directly on nixos, zsh on macos
parent
52ab8df3e7
commit
44e592e9af
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue