From 0bf230611dfd3b90ce4dfd4a680cfcff3608a9c4 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Sun, 7 May 2023 17:54:19 +0100 Subject: [PATCH] Don't clear ZSH_CACHE This also erases command history, which isn't helpful. --- modules/shell/zsh/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/shell/zsh/default.nix b/modules/shell/zsh/default.nix index 068787a..cbd3bd3 100644 --- a/modules/shell/zsh/default.nix +++ b/modules/shell/zsh/default.nix @@ -43,8 +43,7 @@ in { }; system.userActivationScripts.cleanupZgen = '' - rm -rf $ZSH_CACHE rm -fv $ZGEN_DIR/init.zsh{,.zwc} ''; }; -} \ No newline at end of file +}