all repos — nixfiles @ 10e8d140b23632842db63b731e31321d7517c60a

System and user configuration, managed by nix and home-manager

zsh: stop linking old zsh history file

Alan Pearce
commit

10e8d140b23632842db63b731e31321d7517c60a

parent

9708c3c3878fe54734526334aa83baa043079184

1 file changed, 0 insertions(+), 11 deletions(-)

jump to
M user/settings/zsh.nixuser/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;