From bd03e08709420addb5d9765e4cb25ce0db63c7d0 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 20 Feb 2021 13:46:58 +0000 Subject: [PATCH] home: pager: add less env variables --- home/pager.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/pager.nix b/home/pager.nix index 1306b32..c65c2f0 100644 --- a/home/pager.nix +++ b/home/pager.nix @@ -1,4 +1,11 @@ { ... }: { programs.lesspipe.enable = true; + + home.sessionVariables = { + # My default pager + PAGER = "less"; + # Clear the screen on start and exit + LESS = "-R -+X -c"; + }; }