From 10e8d140b23632842db63b731e31321d7517c60a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 16 Jul 2022 06:07:22 +0200 Subject: zsh: stop linking old zsh history file --- user/settings/zsh.nix | 11 ----------- 1 file changed, 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; -- cgit 1.4.1