summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2022-07-16 06:07:22 +0200
committerAlan Pearce2022-07-16 06:07:22 +0200
commit10e8d140b23632842db63b731e31321d7517c60a (patch)
tree678765ead1c4af38ef3344404f2a05cd7aeee73d /user/settings
parent9708c3c3878fe54734526334aa83baa043079184 (diff)
downloadnixfiles-10e8d140b23632842db63b731e31321d7517c60a.tar.lz
nixfiles-10e8d140b23632842db63b731e31321d7517c60a.tar.zst
nixfiles-10e8d140b23632842db63b731e31321d7517c60a.zip
zsh: stop linking old zsh history file
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/zsh.nix11
1 files changed, 0 insertions, 11 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index b7232041..362f70fe 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -30,17 +30,6 @@ in
     up
   ];
 
-  home.activation.linkOldZshHistory =
-    config.lib.dag.entryAfter [ "writeBoundary" ] ''
-      if [[ ! -f ${config.home.sessionVariables.XDG_DATA_HOME}/zsh/history ]]; then
-        mkdir -p ${config.home.sessionVariables.XDG_DATA_HOME}/zsh/
-        ln ~/.cache/zsh/history ${config.home.sessionVariables.XDG_DATA_HOME}/zsh/history
-      fi
-      if [[ ! -d "${config.home.sessionVariables.XDG_CACHE_HOME}/zsh" ]]; then
-        mkdir -p ${config.home.sessionVariables.XDG_CACHE_HOME}/zsh
-      fi
-    '';
-
   programs.zsh = {
     enable = true;