summaryrefslogtreecommitdiff
path: root/accounts/gkleen@skadhi/zsh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/gkleen@skadhi/zsh/default.nix')
-rw-r--r--accounts/gkleen@skadhi/zsh/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/accounts/gkleen@skadhi/zsh/default.nix b/accounts/gkleen@skadhi/zsh/default.nix
index 1eba1f4b..1e11d639 100644
--- a/accounts/gkleen@skadhi/zsh/default.nix
+++ b/accounts/gkleen@skadhi/zsh/default.nix
@@ -81,6 +81,10 @@ let
81 }; 81 };
82in { 82in {
83 config = { 83 config = {
84 home.persistence."/persistent".files = [
85 (lib.removePrefix (config.home.homeDirectory + "/") config.programs.zsh.history.path)
86 ];
87 programs.zsh.history.path = "${config.xdg.stateHome}/zsh/history";
84 programs.zsh.initContent = '' 88 programs.zsh.initContent = ''
85 source ${zshrc}/share/zshrc 89 source ${zshrc}/share/zshrc
86 ''; 90 '';