home: xdg: make gdb store history in XDG_DATA_HOME
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8569a8eb55
commit
323e99bbb0
|
@ -31,6 +31,7 @@ in
|
||||||
# A tidy home is a tidy mind
|
# A tidy home is a tidy mind
|
||||||
dataFile = {
|
dataFile = {
|
||||||
"bash/.keep".text = "";
|
"bash/.keep".text = "";
|
||||||
|
"gdb/.keep".text = "";
|
||||||
"tig/.keep".text = "";
|
"tig/.keep".text = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -39,6 +40,7 @@ in
|
||||||
config.home.sessionVariables = with config.xdg; lib.mkIf cfg.enable {
|
config.home.sessionVariables = with config.xdg; lib.mkIf cfg.enable {
|
||||||
CARGO_HOME = "${dataHome}/cargo";
|
CARGO_HOME = "${dataHome}/cargo";
|
||||||
DOCKER_CONFIG = "${configHome}/docker";
|
DOCKER_CONFIG = "${configHome}/docker";
|
||||||
|
GDBHISTFILE = "${dataHome}/gdb/gdb_history";
|
||||||
HISTFILE = "${dataHome}/bash/history";
|
HISTFILE = "${dataHome}/bash/history";
|
||||||
INPUTRC = "${configHome}/readline/inputrc";
|
INPUTRC = "${configHome}/readline/inputrc";
|
||||||
LESSHISTFILE = "${dataHome}/less/history";
|
LESSHISTFILE = "${dataHome}/less/history";
|
||||||
|
|
Loading…
Reference in a new issue