nixos/tmux: fix historyLimit when used with newSession
When `history-limit` appears after `new-session` it does not have any effect.
This commit is contained in:
parent
da6200c3b6
commit
12e6440b46
@ -16,6 +16,7 @@ let
|
||||
set -g default-terminal "${cfg.terminal}"
|
||||
set -g base-index ${toString cfg.baseIndex}
|
||||
setw -g pane-base-index ${toString cfg.baseIndex}
|
||||
set -g history-limit ${toString cfg.historyLimit}
|
||||
|
||||
${optionalString cfg.newSession "new-session"}
|
||||
|
||||
@ -50,7 +51,6 @@ let
|
||||
setw -g aggressive-resize ${boolToStr cfg.aggressiveResize}
|
||||
setw -g clock-mode-style ${if cfg.clock24 then "24" else "12"}
|
||||
set -s escape-time ${toString cfg.escapeTime}
|
||||
set -g history-limit ${toString cfg.historyLimit}
|
||||
|
||||
${cfg.extraConfigBeforePlugins}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user