diff options
author | Alan Pearce | 2014-04-13 10:04:03 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-13 10:04:03 +0100 |
commit | ad529fd05f192d37299a5e8d009baa5d16da30bb (patch) | |
tree | 5ac8b339263bbdca86127d125e14e7e465cda730 | |
parent | 606c29d286a3da41da310faaa008d1a0280decd7 (diff) | |
download | nixfiles-ad529fd05f192d37299a5e8d009baa5d16da30bb.tar.lz nixfiles-ad529fd05f192d37299a5e8d009baa5d16da30bb.tar.zst nixfiles-ad529fd05f192d37299a5e8d009baa5d16da30bb.zip |
Update and migrate zsh history file location
-rwxr-xr-x | hooks/post-up/zsh | 1 | ||||
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 2 |
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 |