diff options
author | Alan Pearce | 2020-06-16 13:06:42 +0200 |
---|---|---|
committer | Alan Pearce | 2020-06-16 13:06:42 +0200 |
commit | 986e34637a0b15e7c02ebef14f73585583a5bcbd (patch) | |
tree | 0ffba3380dab19d0e0d72bd1b19afc7c3538dab1 /user/settings | |
parent | 228df3ab08069e5061e7c07e731e7a3da536f5ab (diff) | |
download | nixfiles-986e34637a0b15e7c02ebef14f73585583a5bcbd.tar.lz nixfiles-986e34637a0b15e7c02ebef14f73585583a5bcbd.tar.zst nixfiles-986e34637a0b15e7c02ebef14f73585583a5bcbd.zip |
zsh: fix history migration
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/zsh.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix index 0efda5de..d5bdaf5c 100644 --- a/user/settings/zsh.nix +++ b/user/settings/zsh.nix @@ -31,7 +31,8 @@ in home.activation.linkOldZshHistory = config.lib.dag.entryAfter ["writeBoundary"] '' if [[ ! -f ''${XDG_DATA_HOME}/zsh/history ]]; then - ln ${toString ./.cache/zsh/history} ''${XDG_DATA_HOME}/zsh/history + mkdir -p ''${XDG_DATA_HOME}/zsh/ + ln ~/.cache/zsh/history ''${XDG_DATA_HOME}/zsh/history fi ''; |