From 40ff2be25738c7514a40b8ae76e4f66dad977c41 Mon Sep 17 00:00:00 2001 From: David Wood Date: Wed, 28 Jun 2023 14:42:12 +0100 Subject: [PATCH] Add environment variables for less configuration. --- home/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/default.nix b/home/default.nix index 5a8b614..7e9d42c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -198,6 +198,8 @@ with lib; sessionVariables = { "EDITOR" = "hx"; + "LESS" = "-R"; + "LESSCHARSET" = "utf-8"; # Don't clear the screen when leaving man. "MANPAGER" = "less -X";