home: zsh: store history in XDG_DATA_HOME

This commit is contained in:
Bruno BELANYI 2021-02-19 19:02:54 +00:00
parent 90f2a7f274
commit e92ff24814

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { config, pkgs, ... }:
{ {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
@ -10,6 +10,7 @@
ignoreSpace = true; ignoreSpace = true;
ignoreDups = true; ignoreDups = true;
share = true; share = true;
path = "${config.xdg.dataHome}/zsh/zsh_history";
}; };
plugins = with pkgs; [ plugins = with pkgs; [