all repos — nixfiles @ e386f0d1b26b18a93d5c657c0d37cc811117fcdd

System and user configuration, managed by nix and home-manager

Set ZSH history file globally
Alan Pearce alan@alanpearce.eu
Mon, 20 Jul 2020 12:47:30 +0200
commit

e386f0d1b26b18a93d5c657c0d37cc811117fcdd

parent

fd37bf9d5f4ae3609bb07986958b13b1d645aeb4

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M system/settings/base.nixsystem/settings/base.nix
@@ -10,6 +10,10 @@ environment.systemPackages = with pkgs; [     nix-index
   ];
 
+  programs.zsh = {
+    histFile = "\${XDG_DATA_HOME}/zsh/history";
+  };
+
   networking.nextdns = {
     enable = true;
     configID = "abd6e5";