about summary refs log tree commit diff stats
path: root/hm/soispha/conf/less/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/conf/less/default.nix')
-rw-r--r--hm/soispha/conf/less/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/hm/soispha/conf/less/default.nix b/hm/soispha/conf/less/default.nix
index 75928bc8..1d598995 100644
--- a/hm/soispha/conf/less/default.nix
+++ b/hm/soispha/conf/less/default.nix
@@ -1,16 +1,15 @@
 {config, ...}: {
   home.sessionVariables = {
     PAGER = "less";
-    MANPAGER = "less -Db+r -Du+b";
+    MANPAGER = "less --color=d+r --color=u+b";
   };
   programs.less = {
     enable = true;
     keys =
       builtins.readFile ./command.less
-      + builtins.readFile
-      ./line-edit.less
+      + builtins.readFile ./line-edit.less
       + builtins.readFile ./env.less
-      # This next line *must* be under `./env.less` as it adds to the definitions
+      # This next line *must* be under the `./env.less` include, as it extends the environment definitions
       + ''
         LESSHISTFILE = ${config.xdg.dataHome}/less/history
       '';