From b0fcee6707ccdb35a9f5f6534d6756266bbe99d1 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 24 Jun 2023 15:15:20 -0600 Subject: [PATCH] don't auto exit bat pager --- modules/common/shell/utilities.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/common/shell/utilities.nix b/modules/common/shell/utilities.nix index 06eba0f..2d8e3e8 100644 --- a/modules/common/shell/utilities.nix +++ b/modules/common/shell/utilities.nix @@ -46,7 +46,10 @@ in { programs.bat = { enable = true; # cat replacement - config = { theme = config.theme.colors.batTheme; }; + config = { + theme = config.theme.colors.batTheme; + pager = "less -R"; # Don't auto-exit if one screen + }; }; programs.fish.shellAbbrs = {