mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue