From 064ff2e9ab105ef2ded479c02ed6772d57e98648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sat, 16 Dec 2023 17:05:36 +0100 Subject: [PATCH] Actually, shell history is state --- hm/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hm/common.nix b/hm/common.nix index 8958216..6cf59d9 100644 --- a/hm/common.nix +++ b/hm/common.nix @@ -138,7 +138,7 @@ in # TODO Maybe make nixpkg wrapper instead? So it also works from dmenu # Could also accept my fate... Home-manager doesn't necessarily make it easy to put things out of the home directory historySize = 100000; - historyFile = "${config.xdg.cacheHome}/shell_history"; + historyFile = "${config.xdg.stateHome}/shell_history"; in {