summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xhooks/post-up/zsh1
-rwxr-xr-xtag-zsh/config/zsh/zshrc2
2 files changed, 2 insertions, 1 deletions
diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh
index 1db24bfa..2d94d49a 100755
--- a/hooks/post-up/zsh
+++ b/hooks/post-up/zsh
@@ -49,3 +49,4 @@ for fp in $ZDOTDIR/functions/*(/); do
 done
 
 [[ -f ~/.zsh/fasd-data ]] && mv ~/.zsh/fasd-data ~/.cache/zsh/fasd-data
+[[ -f ~/.zsh/history ]] && mv ~/.zsh/history ~/.cache/zsh/history
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 40af65cf..ce4b91f8 100755
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -6,7 +6,7 @@ export CLICOLOR=true
 #
 # zsh variables
 #
-HISTFILE=~/.zsh/history
+HISTFILE=~/.cache/zsh/history
 HISTSIZE=4000
 SAVEHIST=3000