set some less-related environment variables

This commit is contained in:
Seaswimmer 2024-11-22 09:09:58 -05:00
parent f7b5649780
commit 43c3949137
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -5,6 +5,12 @@
# XDG settings
XDG_CONFIG_HOME = lib.mkDefault "$HOME/.config";
# less settings
LESS = "-R";
# Fix unicode characters not being displayed properly in less or cat (bat)
# https://github.com/sharkdp/bat/issues/2578#issuecomment-1598332705
LESSUTFCHARDEF = "E000-F8FF:p,F0000-FFFFD:p,100000-10FFFD:p";
};
environment.sessionVariables = {