diff options
Diffstat (limited to 'hm')
-rw-r--r-- | hm/soispha/conf/less/default.nix | 7 | ||||
-rw-r--r-- | hm/soispha/conf/less/env.less | 5 |
2 files changed, 6 insertions, 6 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 ''; diff --git a/hm/soispha/conf/less/env.less b/hm/soispha/conf/less/env.less index 87c5d4ff..2d4f87e3 100644 --- a/hm/soispha/conf/less/env.less +++ b/hm/soispha/conf/less/env.less @@ -1,4 +1,5 @@ #env -LESSHISTSIZE=10000 -LESS = "-R --use-color --incsearch --modelines=2 --save-marks --wordwrap --status-line"; +LESSHISTSIZE = 10000 +LESS = -R --use-color --incsearch --modelines=2 --save-marks --wordwrap --status-line + # LESSHISTFILE is added in the nix file |