home: use 'XDG_STATE_HOME' for history files
All checks were successful
ci/woodpecker/push/check Pipeline was successful

It's specified as the place to put them, so let's make use of it I
guess.
This commit is contained in:
Bruno BELANYI 2024-08-29 10:10:26 +00:00
parent f91286d13b
commit fbd3b70d61
5 changed files with 11 additions and 8 deletions

View file

@ -15,7 +15,7 @@ in
# Clear the screen on start and exit
LESS = "-R -+X -c";
# Better XDG compliance
LESSHISTFILE = "${config.xdg.dataHome}/less/history";
LESSHISTFILE = "${config.xdg.stateHome}/less/history";
LESSKEY = "${config.xdg.configHome}/less/lesskey";
};
};