diff options
author | Alan Pearce | 2022-07-16 06:07:22 +0200 |
---|---|---|
committer | Alan Pearce | 2022-07-16 06:07:22 +0200 |
commit | 10e8d140b23632842db63b731e31321d7517c60a (patch) | |
tree | 678765ead1c4af38ef3344404f2a05cd7aeee73d /user | |
parent | 9708c3c3878fe54734526334aa83baa043079184 (diff) | |
download | nixfiles-10e8d140b23632842db63b731e31321d7517c60a.tar.lz nixfiles-10e8d140b23632842db63b731e31321d7517c60a.tar.zst nixfiles-10e8d140b23632842db63b731e31321d7517c60a.zip |
zsh: stop linking old zsh history file
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/zsh.nix | 11 |
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; |