From e92ff24814ee5c27288ad904b8c044f807ec1362 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 19 Feb 2021 19:02:54 +0000 Subject: [PATCH] home: zsh: store history in XDG_DATA_HOME --- home/zsh.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/zsh.nix b/home/zsh.nix index 28e83d8..40d184e 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: { programs.zsh = { enable = true; @@ -10,6 +10,7 @@ ignoreSpace = true; ignoreDups = true; share = true; + path = "${config.xdg.dataHome}/zsh/zsh_history"; }; plugins = with pkgs; [