home: bat: set default pager

This commit is contained in:
Guanran Wang 2024-01-21 00:51:27 +08:00
parent eb74f5cdef
commit a0ecd0b0cb
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -1,6 +1,7 @@
{
programs.bat.enable = true;
home.sessionVariables = {
"PAGER" = "bat";
"MANPAGER" = "sh -c 'col -bx | bat -l man -p'";
"MANROFFOPT" = "-c";
};