zsh: stop linking old zsh history file
Alan Pearce alan@alanpearce.eu
Sat, 16 Jul 2022 06:07:22 +0200
1 files changed, 0 insertions(+), 11 deletions(-)
jump to
M user/settings/zsh.nix → user/settings/zsh.nix
@@ -30,17 +30,6 @@ zsh-completions 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;