home: pager: add less env variables

This commit is contained in:
Bruno BELANYI 2021-02-20 13:46:58 +00:00
parent b54f0e87a1
commit bd03e08709

View file

@ -1,4 +1,11 @@
{ ... }: { ... }:
{ {
programs.lesspipe.enable = true; programs.lesspipe.enable = true;
home.sessionVariables = {
# My default pager
PAGER = "less";
# Clear the screen on start and exit
LESS = "-R -+X -c";
};
} }