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

@ -23,11 +23,11 @@ in
xdg = {
configFile."gdb/gdbinit".source = ./gdbinit;
dataFile. "gdb/.keep".text = "";
stateFile."gdb/.keep".text = "";
};
home.sessionVariables = {
GDBHISTFILE = "${config.xdg.dataHome}/gdb/gdb_history";
GDBHISTFILE = "${config.xdg.stateHome}/gdb/gdb_history";
};
}