From ad529fd05f192d37299a5e8d009baa5d16da30bb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 13 Apr 2014 10:04:03 +0100 Subject: Update and migrate zsh history file location --- hooks/post-up/zsh | 1 + tag-zsh/config/zsh/zshrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1